Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Schorb
VolumeAlign
Commits
fc03078c
Commit
fc03078c
authored
Apr 28, 2022
by
Martin Schorb
Browse files
launch call fix
parent
8beb3354
Pipeline
#32733
passed with stage
in 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dashUI/solve.py
View file @
fc03078c
...
...
@@ -349,7 +349,16 @@ def solve_execute_gobutton(click, matchcoll, outstack, tform, stype, comp_sel, s
# populate new stack with the original resolution values
md
=
(
renderapi
.
stack
.
get_stack_metadata
(
outstack
,
render
=
render
,
project
=
project
,
owner
=
owner
))
try
:
md
=
(
renderapi
.
stack
.
get_stack_metadata
(
outstack
,
render
=
render
,
project
=
project
,
owner
=
owner
))
except
:
launch_store
=
dict
()
launch_store
[
'logfile'
]
=
log_file
launch_store
[
'status'
]
=
'error'
launch_store
[
'id'
]
=
'-'
launch_store
[
'type'
]
=
launch_jobs
.
runtype
(
comp_sel
)
return
False
,
launch_store
,
dash
.
no_update
md
.
stackResolutionX
=
orig_meta
.
stackResolutionX
md
.
stackResolutionY
=
orig_meta
.
stackResolutionY
...
...
dashUI/utils/launch_jobs.py
View file @
fc03078c
...
...
@@ -8,6 +8,8 @@ Created on Wed Nov 11 14:24:32 2020
import
os
import
subprocess
import
dash
import
params
import
time
import
datetime
...
...
@@ -257,6 +259,8 @@ def cluster_status(run_state):
command
+=
' --format=jobid,state,node --parsable'
# commands for other cluster types go HERE
if
run_state
[
'status'
]
in
[
'cancelled'
,
'error'
]:
return
run_state
[
'status'
],
link
if
cl_type
in
params
.
remote_submission
.
keys
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment