Skip to content

Commit ba076e9

Browse files
authored
Fix read_metadata_from_xml docstring
1 parent f68f03c commit ba076e9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/imcflibs/imagej/bdv.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,7 @@ def fuse_dataset_bdvp(
16561656
def read_metadata_from_xml(xml_path):
16571657
"""Extract metadata from a Zeiss Lightsheet microscopy XML file.
16581658
1659-
Parses the XML document to retrieve the number of channels, illuminations,
1659+
Pars the XML document to retrieve the number of channels, illuminations,
16601660
and timepoints from the experiment metadata.
16611661
16621662
Parameters
@@ -1676,11 +1676,11 @@ def read_metadata_from_xml(xml_path):
16761676
--------
16771677
>>> metadata = read_metadata_from_xml("/path/to/experiment.xml")
16781678
>>> print(metadata["channels_count"])
1679-
2
1679+
... 2
16801680
>>> print(metadata["illuminations_count"])
1681-
4
1681+
... 4
16821682
>>> print(metadata["timepoints_count"])
1683-
1
1683+
... 1
16841684
"""
16851685
# Use our robust XML parsing function
16861686
dbf = DocumentBuilderFactory.newInstance()
@@ -1727,4 +1727,4 @@ def read_metadata_from_xml(xml_path):
17271727
"timepoints_count": nbr_tp,
17281728
}
17291729

1730-
return xml_metadata
1730+
return xml_metadata

0 commit comments

Comments
 (0)