Skip to content

Commit

Permalink
Merge pull request #1183 from ksugar/fix-path-resolution
Browse files Browse the repository at this point in the history
fix: correct path resolution with root directory handling
  • Loading branch information
tischi authored Oct 23, 2024
2 parents 69cedce + 82798cd commit 81e8fab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ else if ( isCellProfilerColumn( imageColumn, table ) )
for ( int rowIndex = 0; rowIndex < numRows; rowIndex++ )
{
String fileName = table.getString( rowIndex, imageColumn );
String folder = table.getString( rowIndex, folderColumn );
String folder = root != null ? root : table.getString( rowIndex, folderColumn );
String path = IOHelper.combinePath( folder, fileName );
String imageName = createImageName( channelIndex, fileName );
nameToFullPath.put( imageName, applyPathMapping( pathMapping, path ) );
Expand Down

0 comments on commit 81e8fab

Please sign in to comment.