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
7d1e5e8f
Commit
7d1e5e8f
authored
Jan 05, 2022
by
Martin Schorb
Browse files
tile neighbours checks
parent
187c840e
Changes
1
Hide whitespace changes
Inline
Side-by-side
dash/callbacks/tile_view.py
View file @
7d1e5e8f
...
...
@@ -66,8 +66,7 @@ for idx in range(params.max_tileviews):
if
(
not
stack_sel
==
'-'
)
and
(
not
allstacks
is
None
):
stacklist
=
[
stack
for
stack
in
allstacks
if
stack
[
'stackId'
][
'stack'
]
==
stack_sel
]
# stack = stack_sel
if
not
stacklist
==
[]:
stackparams
=
stacklist
[
0
]
...
...
@@ -77,7 +76,6 @@ for idx in range(params.max_tileviews):
o_min
=
stackparams
[
'stats'
][
'stackBounds'
][
'minZ'
]
o_max
=
stackparams
[
'stats'
][
'stackBounds'
][
'maxZ'
]
if
neighbours
==
'True'
and
tileim_idx
!=
'0'
and
tilepairdir
not
in
(
''
,
None
)
and
lead_tile
!=
{}
:
tp_jsonfiles
=
hf
.
jsonfiles
(
tilepairdir
)
...
...
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