Skip to content
Snippets Groups Projects
Commit 4967a143 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Make environment in shared filesystem

parent 8a109ab3
No related branches found
No related tags found
1 merge request!695[webservice] Support requests to repeat correction from myMdC
......@@ -14,6 +14,7 @@ import sys
import urllib.parse
from asyncio import get_event_loop, shield
from datetime import datetime, timezone
from getpass import getuser
from pathlib import Path
from typing import Any, Dict, List, Optional, Tuple, Union
......@@ -1001,8 +1002,11 @@ class ActionsServer:
logging.info("Repeating correction for %s from %s", karabo_id, mddir)
cmd = ['python', '-m', 'xfel_calibrate.repeat', str(mddir),
'--env-cache', '/scratch/xcal/repeat-envs']
cmd = [
'python', '-m', 'xfel_calibrate.repeat', str(mddir),
'--env-cache',
f'/gpfs/exfel/data/scratch/{getuser()}/calib-repeat-envs'
]
with self.job_db:
cur = self.job_db.execute(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment