Skip to content

Commit

Permalink
Update ntracer_state.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekLogan committed Nov 21, 2024
1 parent 4040345 commit 93e524c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/ntracer/ntracer_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ def __is_multi(self) -> bool:
"info",
)
try:
return requests.get(url).json()["num_channels"] > 3
# 211124 Changing to call any multichannel image "multi"
return requests.get(url).json()["num_channels"] > 1
except Exception as e:
print(
"Error, checking if image is multi-channel, verify Neuroglancer info file for image exists at:",
Expand Down

0 comments on commit 93e524c

Please sign in to comment.