File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1656,7 +1656,7 @@ def fuse_dataset_bdvp(
16561656def 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
You can’t perform that action at this time.
0 commit comments