Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
4967a143
Commit
4967a143
authored
2 years ago
by
Thomas Kluyver
Browse files
Options
Downloads
Patches
Plain Diff
Make environment in shared filesystem
parent
8a109ab3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!695
[webservice] Support requests to repeat correction from myMdC
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webservice/webservice.py
+6
-2
6 additions, 2 deletions
webservice/webservice.py
with
6 additions
and
2 deletions
webservice/webservice.py
+
6
−
2
View file @
4967a143
...
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment