Skip to content

Commit

Permalink
exit
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Mar 19, 2024
1 parent 2b3ef41 commit ef92fad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pinefarm/external/nnlojet/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def __init__(self, pinecard, theorycard, *args, warmup=False, **kwargs):
def run(self):
"""Run the corresponding NNLOJET runcard"""
for runcard in self._nnlojet_runcards:
# Exit regardless of whether there's a NNLOJET executable for now
sys.exit(-1)
try:
sp.run(["NNLOJET", "-run", runcard.name], cwd=self.dest, check=True)
except FileNotFoundError:
Expand Down

0 comments on commit ef92fad

Please sign in to comment.