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
d2fce235
Commit
d2fce235
authored
3 years ago
by
Thomas Kluyver
Browse files
Options
Downloads
Patches
Plain Diff
after_ok and after_any are optional
parent
171f495d
No related branches found
No related tags found
1 merge request
!544
Reproducibility, step 1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xfel_calibrate/calibrate.py
+1
-1
1 addition, 1 deletion
src/xfel_calibrate/calibrate.py
with
1 addition
and
1 deletion
src/xfel_calibrate/calibrate.py
+
1
−
1
View file @
d2fce235
...
...
@@ -783,7 +783,7 @@ class JobArgs:
def
run_direct
(
self
,
run_tmp_path
,
python
)
->
int
:
return
call
(
self
.
format_cmd
(
run_tmp_path
,
python
))
def
submit_job
(
self
,
run_tmp_path
,
python
,
args
,
after_ok
,
after_any
):
def
submit_job
(
self
,
run_tmp_path
,
python
,
args
,
after_ok
=
()
,
after_any
=
()
):
cmd
=
get_launcher_command
(
args
,
run_tmp_path
,
after_ok
,
after_any
)
cmd
+=
self
.
format_cmd
(
run_tmp_path
,
python
)
output
=
check_output
(
cmd
).
decode
(
'
utf-8
'
)
...
...
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