Commit eb24d704 authored by Tamas Gal's avatar Tamas Gal 💬

Move venv activation to outer scope

parent 3ccebd42
Pipeline #12383 passed with stages
in 35 minutes and 34 seconds
......@@ -123,6 +123,8 @@ def main():
n_files = len(file_chunk)
s.add("echo Creating run summary for {} files".format(n_files))
s.add("cd $TMPDIR; mkdir -p $USER; cd $USER")
if PYTHONVENV is not None:
s.add('. {}/bin/activate'.format(PYTHONVENV))
for ipath in file_chunk:
......@@ -133,8 +135,6 @@ def main():
s.add('ls -al {}'.format(fname))
if PYTHONVENV is not None:
s.add('. {}/bin/activate'.format(PYTHONVENV))
s.add('km3pipe --version')
s.add('KPrintTree -f {}'.format(fname))
out_fname = fname + SUFFIX
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