Skip to content

Commit

Permalink
Change snapshot case in main
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwsch committed Jul 10, 2024
1 parent 5b5eca9 commit 282d8b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions micro_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ def main():
if not args.snapshot:
manager = MicroManagerCoupling(config_file_path)
else:
if not is_snapshot_possible:
if is_snapshot_possible:
manager = MicroManagerSnapshot(config_file_path)
else:
raise ImportError(
"The Micro Manager snapshot computation requires the h5py package."
)
else:
manager = MicroManagerSnapshot(config_file_path)

manager.initialize()

Expand Down

0 comments on commit 282d8b5

Please sign in to comment.