Commit 229c1520 authored by albajacas_a's avatar albajacas_a
Browse files

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

parent 0fd0100d
......@@ -172,10 +172,11 @@ class Simulation:
fieldmapPath = os.environ.get('FIELDMAPS')
fieldmapPath = '../fieldmaps'
if not (os.path.isdir(fieldmapPath)):
print('Fieldmap directory unknown exiting ...')
linkDirectory(fieldmapPath, 'Fieldmap')
if (os.path.isdir(fieldmapPath)):
linkDirectory(fieldmapPath, 'Fieldmap')
print('Fieldmap directory unknown, continuing without it...')
# Link distribution directory if present
if (os.environ.get('DISTRIBUTIONS')):
......@@ -334,7 +335,7 @@ class Simulation:
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