Commit b786dbc7 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: use the right geom file when reading metadata (attached geom instead of extended filename)

parent 58910d75
......@@ -490,7 +490,7 @@ void ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformatio
// Case 2: attached geom (if present)
else if (!m_FilenameHelper->GetSkipGeom() && itksys::SystemTools::FileExists(attachedGeom))
GeomMetadataSupplier geomSupplier(m_FilenameHelper->GetExtGEOMFileName());
GeomMetadataSupplier geomSupplier(attachedGeom);
UpdateImdWithImiAndMds(imd, geomSupplier);
// Case 3: tags in file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment