Skip to content

Commit

Permalink
Merge pull request #1099 from mobie/ome-zarr-multi-channel
Browse files Browse the repository at this point in the history
Add all available channels of OMEZarr.
  • Loading branch information
tischi authored Feb 10, 2024
2 parents 4afff01 + f028652 commit 541b525
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/org/embl/mobie/lib/hcs/HCSPattern.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ private boolean hasChannels()
{
switch ( this )
{
case OMEZarr:
case Operetta:
case MolecularDevices:
case IncuCyteRaw:
Expand Down Expand Up @@ -274,7 +275,10 @@ public String getChannelGroup()
public List< String > getChannels()
{
if ( hasChannels() )
return Collections.singletonList( matcher.group( HCSPattern.CHANNEL ) );
if (this == OMEZarr)
return channels;
else
return Collections.singletonList( matcher.group( HCSPattern.CHANNEL ) );
else
return Collections.singletonList( "1" );
}
Expand Down

0 comments on commit 541b525

Please sign in to comment.