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 29, 2024
1 parent 78f8761 commit eec6b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ def __init__(self, path):
try:
self.path = path
components = path.split("/")
if len(components) == 8:
self.bucket, csc, generator, year, month, day, directory, self.filename = components
self.instrument = f"{csc}/{generator}"
if len(components) == 7:
self.bucket, csc, generator, year, month, day, self.filename = components
self.instrument = f"{csc}/{generator}"
Expand Down

0 comments on commit eec6b44

Please sign in to comment.