Fixed sequence filename when loading from folder (regression)

parent 7637cb85
......@@ -3967,7 +3967,7 @@ public class Loader
if (directory)
{
// get directory without last separator
final String fileDir = FileUtil.getDirectory(group.ident.base, false);
final String fileDir = FileUtil.getDirectory(group.getBasePath(), false);
// set sequence name and filename to directory
result.setName(FileUtil.getFileName(fileDir, false));
......@@ -4415,7 +4415,7 @@ public class Loader
final SequenceIdent ident = group.ident;
for (SequencePosition pos : group.positions)
result.add(new FilePosition(pos.getPath(), ident.base, 0, pos.getIndexT(), pos.getIndexZ(),
result.add(new FilePosition(pos.getPath(), group.getBasePath(), 0, pos.getIndexT(), pos.getIndexZ(),
pos.getIndexC()));
}
......
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