Skip to content

Commit

Permalink
Change ovito imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ab5424 committed Nov 16, 2021
1 parent ddf73e6 commit 5ef7bc0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions autogabi/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ def delete_particles(self, particle_type):
Returns:
"""
if self.backend == "ovito":
from ovito.plugins.StdModPython import (
SelectTypeModifier,
DeleteSelectedModifier,
)
# from ovito.plugins.StdModPython import (
# SelectTypeModifier,
# DeleteSelectedModifier,
# )
from ovito.modifiers import SelectTypeModifier, DeleteSelectedModifier

def assign_particle_types(frame, data):
atom_types = data.particles_.particle_types_
Expand Down

0 comments on commit 5ef7bc0

Please sign in to comment.