Skip to content

Commit

Permalink
Add description to OpenHCSDatasetCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
tischi committed Mar 5, 2024
1 parent a042689 commit 9fcb494
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
import java.io.File;
import java.io.IOException;

import static org.embl.mobie.command.open.OpenHCSDatasetCommand.VoxelDimensionFetching.FromOMEXML;


@Plugin(type = Command.class, menuPath = CommandConstants.MOBIE_PLUGIN_OPEN + "Open HCS Dataset..." )
public class OpenHCSDatasetCommand implements Command
Expand Down Expand Up @@ -69,7 +71,10 @@ public enum VoxelDimensionFetching
@Parameter ( label = "Voxel Dimensions" )
public VoxelDimensionFetching voxelDimensionFetching = VoxelDimensionFetching.FromImageFiles;

@Parameter ( label = "OME-XML (optional)", required = false )
@Parameter ( label = "OME-XML (optional)",
description = "This is used if the option FromOMEXML is chosen to for" +
" determining the Voxel Dimensions",
persist = false )
public File omeXML;

@Override
Expand All @@ -89,7 +94,7 @@ public void run()

private VoxelDimensions initVoxelDimensions()
{
if ( voxelDimensionFetching.equals( VoxelDimensionFetching.FromOMEXML ) )
if ( voxelDimensionFetching.equals( FromOMEXML ) )
{
return OMEXMLParser.readVoxelDimensions( omeXML );
}
Expand Down

0 comments on commit 9fcb494

Please sign in to comment.