Skip to content

Base.parent does not work if dataset contains a backslash #1161

@mkitti

Description

@mkitti

For a dataset with a name of "/X/somelab/RW10557/031021/Pos0/segmentation/RegB/045/E10\", Base.parent does not work. It attempts to look for "/X/somelab/RW10557/031021/Pos0/segmentation/RegB/045/E10" since that is the result of dirname.

Instead we should strictly look for /. This is still possibly incorrect since the name of the dataset could contain a /.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions