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
fcb2e0b4
Commit
fcb2e0b4
authored
Jan 04, 2022
by
Martin Schorb
Browse files
dynamically update n5 exporter runtime
parent
f6b0ba41
Changes
1
Hide whitespace changes
Inline
Side-by-side
dash/filetypes/N5_export.py
View file @
fcb2e0b4
...
...
@@ -76,6 +76,11 @@ def n5export_update_compute_settings(*inputs):
idx_offset
=
len
(
compute_table_cols
)
trigger
=
hf
.
trigger
()
if
not
trigger
in
(
'factors'
,
'input_'
+
compute_table_cols
[
0
]):
return
dash
.
no_update
out
=
list
(
inputs
[:
idx_offset
])
out
.
append
(
dash
.
no_update
)
...
...
@@ -84,7 +89,9 @@ def n5export_update_compute_settings(*inputs):
else
:
out
[
0
]
=
inputs
[
0
]
if
type
(
inputs
[
1
])
in
(
str
,
type
(
None
)):
print
(
inputs
)
if
type
(
inputs
[
1
])
in
(
str
,
type
(
None
))
or
inputs
[
1
]
==
{}:
out
[
1
]
=
120
else
:
if
None
in
inputs
[
-
1
].
values
():
...
...
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