Skip to content

Commit

Permalink
clean get_oriented_operations function
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Aug 24, 2024
1 parent 4c08e14 commit ca4de30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posym/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ def optimization_function_full(angles):

def get_oriented_operations(self):
import copy
self._generate_permutation_set(self.orientation_angles)
rotmol = R.from_euler('zyx', self.orientation_angles, degrees=True)

operations_list = []
Expand All @@ -286,7 +287,6 @@ def print_operations_info(self):

print('\nOperations list (molecule orientation)'
'\n--------------------------------------')
self._generate_permutation_set(self._angles)
for op in self.get_oriented_operations():
# print('Operation object: ', op)
print('label:', op.label)
Expand Down

0 comments on commit ca4de30

Please sign in to comment.