Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CLIMATE-946 - CORDEX script does not necessarily use correct interpre…
…ter when calling RCMES
  • Loading branch information
agoodm committed Jan 17, 2018
1 parent 4c06b8c commit b7af271b1b8a9deb79ad8bea89b92e3dd2a51e1a
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,4 +1,5 @@
import os
import sys
import subprocess
import jinja2
from metadata_extractor import CORDEXMetadataExtractor, obs4MIPSMetadataExtractor
@@ -48,7 +49,7 @@

# TODO: Do this in parallel. Will change this once this approach
# is well tested.
code = subprocess.call(['python', '../run_RCMES.py', configfile_path])
code = subprocess.call([sys.executable, '../run_RCMES.py', configfile_path])
errored = []
if code:
errored.append(configfile_path)

0 comments on commit b7af271

Please sign in to comment.