Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
alibylite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Swain Lab
aliby
alibylite
Commits
816e53d8
Commit
816e53d8
authored
2 years ago
by
pswain
Browse files
Options
Downloads
Patches
Plain Diff
added error message to tiler.get_channel_index
parent
31f64e47
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aliby/tile/tiler.py
+2
-0
2 additions, 0 deletions
aliby/tile/tiler.py
with
2 additions
and
0 deletions
aliby/tile/tiler.py
+
2
−
0
View file @
816e53d8
...
@@ -122,6 +122,7 @@ class TrapLocations:
...
@@ -122,6 +122,7 @@ class TrapLocations:
Stores each trap as an instance of Trap.
Stores each trap as an instance of Trap.
Traps can be iterated.
Traps can be iterated.
"""
"""
def
__init__
(
def
__init__
(
self
,
initial_location
,
tile_size
,
max_size
=
1200
,
drifts
=
None
self
,
initial_location
,
tile_size
,
max_size
=
1200
,
drifts
=
None
):
):
...
@@ -558,6 +559,7 @@ class Tiler(ProcessABC):
...
@@ -558,6 +559,7 @@ class Tiler(ProcessABC):
for
i
,
ch
in
enumerate
(
self
.
channels
):
for
i
,
ch
in
enumerate
(
self
.
channels
):
if
item
in
ch
:
if
item
in
ch
:
return
i
return
i
raise
Exception
(
item
+
"
not found. Check parameters sent to Tiler.
"
)
###
###
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment