Skip to content

Commit a366570

Browse files
committed
Fixed an error on the cluster submission with new Cellconstructor calculator for quantum espresso
1 parent 7b9b06c commit a366570

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Modules/Cluster.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,10 @@ def batch_submission(self, list_of_structures, calc, indices,
763763
# Get the results
764764
try:
765765
results[i] = self.read_results(calc, lbl)
766-
except:
767-
pass
766+
except Exception as e:
767+
sys.stderr.write("JOB {} | {} resulted in error:\n".format(i, lbl))
768+
sys.stderr.write(e)
769+
768770

769771
return results
770772

0 commit comments

Comments
 (0)