Skip to content

Commit d66a0ca

Browse files
Apply suggestions from code review
Co-authored-by: Kabilar Gunalan <[email protected]>
1 parent 004a0e1 commit d66a0ca

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
44
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/) convention.
55

6-
## [0.5.5] - 2023-07-26
6+
## [0.6.0] - 2023-07-26
77

88
+ Update - `prairieviewreader.py` -> `prairie_view_loader.py`
99
+ Update - Internal variable names within `prairie_view_loader.py`
@@ -76,7 +76,7 @@ Observes [Semantic Versioning](https://semver.org/spec/v2.0.0.html) standard and
7676

7777
+ Add - Readers for: `ScanImage`, `Suite2p`, `CaImAn`.
7878

79-
[0.5.5]: https://github.com/datajoint/element-interface/releases/tag/0.5.5
79+
[0.6.0]: https://github.com/datajoint/element-interface/releases/tag/0.6.0
8080
[0.5.4]: https://github.com/datajoint/element-interface/releases/tag/0.5.4
8181
[0.5.3]: https://github.com/datajoint/element-interface/releases/tag/0.5.3
8282
[0.5.2]: https://github.com/datajoint/element-interface/releases/tag/0.5.2

element_interface/prairieviewreader.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as np
66

77

8-
def get_pv_metadata(ome_tif_filepath: str) -> dict:
8+
def get_prairieview_metadata(ome_tif_filepath: str) -> dict:
99
"""Extract metadata for scans generated by Prairie View acquisition software.
1010
1111
The Prairie View software generates one `.ome.tif` imaging file per frame
@@ -14,7 +14,7 @@ def get_pv_metadata(ome_tif_filepath: str) -> dict:
1414
populate the DataJoint `ScanInfo` and `Field` tables. Prairie View works
1515
with resonance scanners with a single field. Prairie View does not support
1616
bidirectional x and y scanning. ROI information is not contained in the
17-
`.xml` file. All images generated using PrairieView have square dimensions(e.g. 512x512).
17+
`.xml` file. All images generated using Prairie View have square dimensions(e.g. 512x512).
1818
1919
Args:
2020
ome_tif_filepath: An absolute path to the .ome.tif image file.
@@ -132,8 +132,8 @@ def get_pv_metadata(ome_tif_filepath: str) -> dict:
132132
".//Sequence/[@cycle='1']/Frame/[@index='1']/PVStateShard/PVStateValue/[@key='positionCurrent']/SubindexedValues/[@index='ZAxis']/SubindexedValue"
133133
)
134134

135-
# If more than one Z-axis controllers are found, the code block below
136-
# checks which controller is changing z_field depth. Only 1 controller
135+
# If more than one Z-axis controllers are found,
136+
# check which controller is changing z_field depth. Only 1 controller
137137
# must change depths.
138138
if len(z_controllers) > 1:
139139
z_repeats = []

element_interface/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Package metadata"""
22

3-
__version__ = "0.5.5"
3+
__version__ = "0.6.0"

0 commit comments

Comments
 (0)