Skip to content

Commit

Permalink
Fix handling of GenericCamera movies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Mar 31, 2024
1 parent 78f8761 commit cf8669c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ def __init__(self, path):
try:
self.path = path
components = path.split("/")
if len(components) == 7:
if len(components) == 8:
self.bucket, csc, generator, year, month, day, directory, self.filename = components
self.instrument = f"{csc}/{generator}"
elif len(components) == 7:
self.bucket, csc, generator, year, month, day, self.filename = components
self.instrument = f"{csc}/{generator}"
elif len(components) == 6:
Expand Down

0 comments on commit cf8669c

Please sign in to comment.