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
ef419546
Commit
ef419546
authored
Jun 23, 2022
by
Martin Schorb
Browse files
bug fixes
parent
036a6609
Changes
4
Hide whitespace changes
Inline
Side-by-side
dashUI/callbacks/match_selector.py
View file @
ef419546
...
...
@@ -174,6 +174,9 @@ def new_matchcoll(mc_sel, stack, mc_owner, owner, project, all_mcs):
if
not
dash
.
callback_context
.
triggered
:
raise
PreventUpdate
if
None
in
[
mc_sel
,
stack
,
mc_owner
,
owner
,
project
,
all_mcs
]:
raise
PreventUpdate
if
stack
is
None
:
stack
=
''
...
...
dashUI/callbacks/tile_view.py
View file @
ef419546
...
...
@@ -418,7 +418,7 @@ for idx in range(params.max_tileviews):
url
+=
'/z/'
+
str
(
section
)
if
'imurl'
not
in
imparams
.
keys
():
imurl
=
url
+
'/jpeg-image?scale='
+
scale
imparams
[
'
imurl
'
]
=
url
+
'/jpeg-image?scale='
+
str
(
scale
)
if
'zoom'
in
trigger
:
if
rectsel
==
{}:
...
...
@@ -447,7 +447,7 @@ for idx in range(params.max_tileviews):
imurl
=
imparams
[
'imurl'
]
elif
'section'
in
trigger
:
imurl
=
re
.
sub
(
'/z/[0-9]*'
,
'/z/'
+
str
(
section
),
imurl
)
imurl
=
re
.
sub
(
'/z/[0-9]*'
,
'/z/'
+
str
(
section
),
imparams
[
'
imurl
'
]
)
else
:
fullbounds
=
thisstore
[
'stackparams'
][
'stats'
][
'stackBounds'
]
...
...
dashUI/export.py
View file @
ef419546
...
...
@@ -120,6 +120,12 @@ page.append(pathbrowse)
]
)
def
export_stacktodir
(
dir_trigger
,
trig2
,
stack_sel
,
owner
,
project
,
allstacks
,
browsedir
):
if
not
dash
.
callback_context
.
triggered
:
raise
PreventUpdate
if
None
in
[
stack_sel
,
owner
,
project
,
allstacks
,
browsedir
]:
raise
PreventUpdate
dir_out
=
browsedir
trigger
=
hf
.
trigger
()
...
...
dashUI/utils/pages.py
View file @
ef419546
...
...
@@ -240,7 +240,7 @@ def match_selector(module, newcoll=False):
html
.
A
(
'Explore Match Collection'
,
id
=
{
'component'
:
'browse_mc'
,
'module'
:
module
},
target
=
"_blank"
,
style
=
{
'margin-left'
:
'0.5em'
,
'margin-right'
:
'1em'
}),
html
.
Br
()
html
.
Br
()
,
html
.
Br
()
],
style
=
{
'display'
:
'none'
})
])
...
...
Write
Preview
Supports
Markdown
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