Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Schorb
VolumeAlign
Commits
012a408d
Commit
012a408d
authored
Jan 05, 2022
by
Martin Schorb
Browse files
fix error when missing stack requested
parent
dbc0dfe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
dash/callbacks/substack_sel.py
View file @
012a408d
...
...
@@ -37,6 +37,9 @@ def stacktoparams(stack_sel,allstacks):
if
'None'
in
(
stackparams
[
'stackId'
][
'owner'
],
stackparams
[
'stackId'
][
'project'
]):
return
dash
.
no_update
if
not
'stats'
in
stackparams
.
keys
():
return
dash
.
no_update
thisstore
[
'stack'
]
=
stackparams
[
'stackId'
][
'stack'
]
thisstore
[
'stackparams'
]
=
stackparams
...
...
dash/callbacks/tile_view.py
View file @
012a408d
...
...
@@ -72,7 +72,10 @@ for idx in range(params.max_tileviews):
if
'None'
in
(
stackparams
[
'stackId'
][
'owner'
],
stackparams
[
'stackId'
][
'project'
]):
return
dash
.
no_update
if
not
'stats'
in
stackparams
.
keys
():
return
dash
.
no_update
o_min
=
stackparams
[
'stats'
][
'stackBounds'
][
'minZ'
]
o_max
=
stackparams
[
'stats'
][
'stackBounds'
][
'maxZ'
]
...
...
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