Skip to content

Commit

Permalink
Merge pull request #166 from kushalbakshi/per-plane-processing
Browse files Browse the repository at this point in the history
Fix `PrairieViewMeta` import statements
  • Loading branch information
sidhulyalkar authored Sep 7, 2023
2 parents 2cf78bb + 69831b2 commit 649fe4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion element_calcium_imaging/imaging_no_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,9 @@ def make(self, key):
)
image_files = tmp_dir.glob(f"*_chn{channel}.tif")
elif acq_software == "PrairieView":
from element_interface import PrairieViewMeta
from element_interface.prairie_view_loader import (
PrairieViewMeta,
)

pv_dir = pathlib.Path(image_files[0]).parent
PVmeta = PrairieViewMeta(pv_dir)
Expand Down
2 changes: 1 addition & 1 deletion element_calcium_imaging/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def estimate_nd2_scan_duration(nd2_scan_obj):
]
)
elif acq_software == "PrairieView":
from element_interface import PrairieViewMeta
from element_interface.prairie_view_loader import PrairieViewMeta

pv_dir = pathlib.Path(scan_filepaths[0]).parent
PVmeta = PrairieViewMeta(pv_dir)
Expand Down
2 changes: 1 addition & 1 deletion element_calcium_imaging/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Package metadata."""
__version__ = "0.9.0"
__version__ = "0.9.1"

0 comments on commit 649fe4a

Please sign in to comment.