Skip to content

Commit

Permalink
Update src/mindlessgen/generator/main.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marcel Mueller <[email protected]>
  • Loading branch information
lmseidler and marcelmbn authored Feb 19, 2025
1 parent 96cf1b6 commit 18f2eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mindlessgen/generator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def single_molecule_step(
stop_event.set()

# Catch any interrupted iterative optimization steps
# (None should only be returned if it got stopped early by the stop_event)
# (None should only be returned (if not caught by an exception) if it got stopped early by the stop_event)
if optimized_molecule is None:
return None

Expand Down

0 comments on commit 18f2eae

Please sign in to comment.