Commit 8199bc8a authored by albajacas_a's avatar albajacas_a
Browse files

Merge branch 'bugFieldmaps' into 'master'

fieldmaps are no longer necessary, and fixed bug with ID = 0

See merge request !5
parents 0fd0100d 229c1520
......@@ -172,10 +172,11 @@ class Simulation:
fieldmapPath = os.environ.get('FIELDMAPS')
else:
fieldmapPath = '../fieldmaps'
if not (os.path.isdir(fieldmapPath)):
print('Fieldmap directory unknown exiting ...')
sys.exit()
linkDirectory(fieldmapPath, 'Fieldmap')
if (os.path.isdir(fieldmapPath)):
linkDirectory(fieldmapPath, 'Fieldmap')
else:
print('Fieldmap directory unknown, continuing without it...')
# Link distribution directory if present
if (os.environ.get('DISTRIBUTIONS')):
......@@ -334,7 +335,7 @@ class Simulation:
sys.exit(1)
qid = -1
ID = 0
if doTest:
if not quiet:
print('Done with setup of the OPAL simulation but not submitting the job (--test) \n\n\n')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment