Skip to content

Commit

Permalink
Catch TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
hwpang committed Jan 25, 2024
1 parent a88b115 commit a34e5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arkane/encorr/isodesmic.py
Expand Up @@ -729,7 +729,7 @@ def _find_error_canceling_reaction(self, reference_subset, milp_software=None):
# Reset signal handling since lpsolve changed it
try:
signal.signal(signal.SIGINT, sig)
except ValueError:
except TypeError:
# This is not being run in the main thread, so we cannot reset signal
pass

Expand Down

0 comments on commit a34e5f6

Please sign in to comment.