Skip to content

Commit

Permalink
Merge pull request #91 from niaid/fix_Flour_rgb
Browse files Browse the repository at this point in the history
Fix typo in Flour used to detect non RGB
  • Loading branch information
blowekamp authored Jan 25, 2024
2 parents 8c6fa54 + 76bada9 commit bc76de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytools/utils/OMEInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def maybe_rgb(self, image_index):
three_or_four = len(channel_elements) in [3, 4]

def _check_channel(channel_element: ET.Element):
exclude_list_attribs = ["EmissionWavelength", "IlluminationType", "Flour"]
exclude_list_attribs = ["EmissionWavelength", "IlluminationType", "Fluor"]
no_rgb_exclude_attrib = all([False for x in exclude_list_attribs if x in channel_element.keys()])
return no_rgb_exclude_attrib and channel_element.attrib["SamplesPerPixel"] == "1"

Expand Down

0 comments on commit bc76de5

Please sign in to comment.