Skip to content

Commit

Permalink
Update lauetoolsneuralnetwork.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BM32ESRF committed Dec 7, 2022
1 parent 7ac5fec commit 580e5c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lauetoolsnn/lauetoolsneuralnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -5227,11 +5227,11 @@ def save_btn(self,):
c_time = now.strftime("%Y-%m-%d_%H-%M-%S")

###convert UB to fundamental zone, before saving the data
try:
self.rotation_matrix = self.convertUB_reduced(self.rotation_matrix,
self.mat_global, self.symmetry, self.symmetry1)
except:
print("problkem converting UB to fundamental zone based on symmetry")
# try:
# self.rotation_matrix = self.convertUB_reduced(self.rotation_matrix,
# self.mat_global, self.symmetry, self.symmetry1)
# except:
# print("problem converting UB to fundamental zone based on symmetry")

save_directory_ = self.model_direc+"//results_"+self.material_+"_"+c_time
if not os.path.exists(save_directory_):
Expand Down

0 comments on commit 580e5c7

Please sign in to comment.