Skip to content

Make the path handling OS-independent in benchmetrics.py #8

Description

@sara-mft

In benchmetrics.py, adapt line 86 to be flexible with different operating systems by using os.path methods:

  • DATA_NAME = path.split("/")[-1].split(".")[0].replace("\\", "_") ==> DATA_NAME = os.path.splitext(os.path.basename(path))[0].replace("\\", "_")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtodo

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions