Skip to content

Commit 32861b7

Browse files
Update element_interface/prairieviewreader.py
Co-authored-by: Kabilar Gunalan <kabilar@datajoint.com>
1 parent 3a68aa1 commit 32861b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

element_interface/prairieviewreader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ def get_pv_metadata(pvtiffile: str) -> dict:
116116

117117
else:
118118

119-
bidir_z = root.find(".//Sequence").attrib.get("bidirectionalZ")
120-
bidirection_z = bidir_z == 'True'
119+
bidirection_z = root.find(".//Sequence").attrib.get("bidirectionalZ") == 'True'
121120

122121
# One "Frame" per depth. Gets number of frames in first sequence
123122
planes = [

0 commit comments

Comments
 (0)