Skip to content

Commit

Permalink
fix flake8 linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mogres committed Oct 9, 2023
1 parent d5207c5 commit aae4e49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cellpack/autopack/Environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@

# backward compatibility with kevin method
from cellpack.autopack.BaseGrid import BaseGrid as BaseGrid
from .trajectory import dcdTrajectory, molbTrajectory
from .randomRot import RandomRot

from tqdm import tqdm
Expand Down Expand Up @@ -1263,7 +1262,7 @@ def buildGrid(self, rebuild=True):
else:
self.grid.distToClosestSurf_store = self.grid.distToClosestSurf[:]

distance = self.grid.distToClosestSurf # [:]
# distance = self.grid.distToClosestSurf # [:]
nbFreePoints = nbPoints # -1
# TODO: refactor this to work with new placed_objects data structure
# for i, mingrs in enumerate(self.molecules): # ( jtrans, rotMatj, self, ptInd )
Expand Down
2 changes: 1 addition & 1 deletion cellpack/autopack/ingredient/Ingredient.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ def getIngredientsInBox(self, env, jtrans, rotMat, compartment):
self.vi.updateBox(box, cornerPoints=bb)
self.vi.update()
# sleep(1.0)
pointsInCube = env.grid.getPointsInCube(bb, jtrans, radius)
# pointsInCube = env.grid.getPointsInCube(bb, jtrans, radius)
# should we got all ingre from all recipes?
# can use the kdtree for it...
# maybe just add the surface if its not already the surface
Expand Down

0 comments on commit aae4e49

Please sign in to comment.