From 5c690d34a6bce9adc13a52d6aec7834f4a367e49 Mon Sep 17 00:00:00 2001 From: Saurabh Mogre Date: Thu, 17 Oct 2024 15:29:52 -0700 Subject: [PATCH] Formatting changes --- cellpack/autopack/Graphics.py | 10 +++++----- cellpack/autopack/ingredient/grow.py | 4 ++-- cellpack/autopack/upy/hostHelper.py | 24 ++++++++++++------------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/cellpack/autopack/Graphics.py b/cellpack/autopack/Graphics.py index 6e0dbba65..2a20e19f0 100644 --- a/cellpack/autopack/Graphics.py +++ b/cellpack/autopack/Graphics.py @@ -2104,7 +2104,7 @@ def color( data=None, objects=None, colors=[upyColors.red, upyColors.black], - **options + **options, ): mini = None maxi = None @@ -2133,7 +2133,7 @@ def color( objects=objects, ramp=ramp, colors=colors, - **options + **options, ) elif mode == "order": # the order is in the name @@ -2143,7 +2143,7 @@ def color( objects=objects, ramp=ramp, colors=colors, - **options + **options, ) print("datas", len(datas)) print("objs", len(listeObjs)) @@ -2166,7 +2166,7 @@ def colorByDistanceFrom( objects=None, ramp=None, colors=[upyColors.red, upyColors.black], - **options + **options, ): """ target : name or host object target @@ -2240,7 +2240,7 @@ def colorByOrder( objects=None, ramp=None, colors=[upyColors.red, upyColors.black], - **options + **options, ): """ target : name or host object target diff --git a/cellpack/autopack/ingredient/grow.py b/cellpack/autopack/ingredient/grow.py index a0b7a4c9b..c8313b4ec 100644 --- a/cellpack/autopack/ingredient/grow.py +++ b/cellpack/autopack/ingredient/grow.py @@ -1659,7 +1659,7 @@ def __init__( meshObject=None, orientation=(1, 0, 0), count=0, - **kw + **kw, ): GrowIngredient.__init__( self, @@ -1687,7 +1687,7 @@ def __init__( orientation, count, type, - **kw + **kw, ) if name is None: name = "Actine_%s_%f" % (str(radii), molarity) diff --git a/cellpack/autopack/upy/hostHelper.py b/cellpack/autopack/upy/hostHelper.py index ab89efa46..16786f36e 100644 --- a/cellpack/autopack/upy/hostHelper.py +++ b/cellpack/autopack/upy/hostHelper.py @@ -793,7 +793,7 @@ def addLampToScene( shadow=False, center=[0.0, 0.0, 0.0], scene=None, - **kw + **kw, ): """ Add a light to the scene @@ -1651,7 +1651,7 @@ def Text( pos=None, font=None, lookAt=False, - **kw + **kw, ): """ Create a hostobject of type Text. @@ -1809,7 +1809,7 @@ def box( size=[1.0, 1.0, 1.0], cornerPoints=None, visible=1, - **kw + **kw, ): """ Create a hostobject of type cube. @@ -1852,7 +1852,7 @@ def updateBox( cornerPoints=None, visible=1, mat=None, - **kw + **kw, ): """ Update the given box. @@ -1958,7 +1958,7 @@ def plane( size=[1.0, 1.0], cornerPoints=None, visible=1, - **kw + **kw, ): """ Create a hostobject of type cube. @@ -2577,7 +2577,7 @@ def createsNmesh( color=[ [1, 0, 0], ], - **kw + **kw, ): """ Function that generate a Polygon object from the given vertices, face and normal. @@ -2644,7 +2644,7 @@ def addBone( boneParent=None, name=None, editMode=True, - **kw + **kw, ): """ Add one bone to an armature. @@ -2746,7 +2746,7 @@ def particle( radius=None, color=None, hostmatrice=None, - **kw + **kw, ): """ Create a particle system along the given coordinates @@ -4293,7 +4293,7 @@ def setRigidBody( dynamicsAngularDamp=0.0, massClamp=0.0, rotMassClamp=1.0, - **kw + **kw, ): """ Set the curren objec as a rigid body @@ -4326,7 +4326,7 @@ def updateSpring( rlength=0.0, stifness=1.0, damping=1.0, - **kw + **kw, ): """ Update the spring control @@ -4348,7 +4348,7 @@ def createSpring( stifness=1.0, damping=1.0, parent=None, - **kw + **kw, ): """ Create a sprin between two physics objects @@ -4386,7 +4386,7 @@ def get_noise( offset=1.0, octaves=6, gain=1.0, - **kw + **kw, ): # multi_fractal(position, H, lacunarity, octaves, noise_basis=noise.types.STDPERLIN) # NotePlease use InitFbm() before you use one of the following noise types: