Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mogres committed Sep 19, 2023
1 parent b84336d commit 8d76176
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cellpack/autopack/Compartment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,9 @@ def BuildGrid_trimesh(

point_compartment_ids = compartment_ids[points_in_encap_sphere]
# largest compartments need to be created first for this to work
point_ids_to_assign = points_in_encap_sphere[numpy.abs(point_compartment_ids) < number]
point_ids_to_assign = points_in_encap_sphere[
numpy.abs(point_compartment_ids) < number
]
point_positions = numpy.float16(master_grid_positions[point_ids_to_assign])

# check surface points
Expand Down
2 changes: 1 addition & 1 deletion cellpack/autopack/upy/simularium/simularium_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def concatObjectMatrix(self):

def GetAbsPosUntilRoot(self, obj):
return [0, 0.0, 0.0]

@staticmethod
def remove_nans(positions, values):
naninds = np.isnan(values)
Expand Down

0 comments on commit 8d76176

Please sign in to comment.