Skip to content

Commit

Permalink
Fix metadata reading for multiview-reconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
lguerard committed May 3, 2022
1 parent a66ecda commit f406129
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public boolean loadMetaData( final File cziFile, final boolean keepFileOpen )

try
{
tmp = metaData.get( "Experiment|AcquisitionBlock|AcquisitionModeSetup|Objective #1" );
tmp = metaData.get( "Experiment|AcquisitionBlock|AcquisitionModeSetup|Objective" );
objective = (tmp != null) ? tmp.toString() : "Unknown Objective";
}
catch ( Exception e )
Expand Down Expand Up @@ -490,7 +490,7 @@ public boolean loadMetaData( final File cziFile, final boolean keepFileOpen )
// get the axis of rotation
try
{
tmp = metaData.get( "Information|Image|V|AxisOfRotation #1" );
tmp = metaData.get( "Information|Image|V|AxisOfRotation" );
if ( tmp != null && tmp.toString().trim().length() >= 5 )
{
IOFunctions.println( "Rotation axis: " + tmp );
Expand Down

0 comments on commit f406129

Please sign in to comment.