Skip to content

Slash conversion #152

@schiefma

Description

@schiefma

version: JRCLUST v4.0.0-beta-p1 "Edward"
command: jrc('detect-sort',['Data/' myPRMfile])

myPRMfile has references to relative directories that used "" notation. While this is fine in Windows, when I went to run this in Linux, it failed. However, no error was thrown. The system simply determined the the directory didn't exist and the jrc() call didn't do anything.

It would be helpful if, when the PRM file is read, any location references (rawRecordings and outputDir) are converted to "/" notation since this works in both Windows and Linux (I'm not sure about Mac). This could be done in several ways, but two that work are:

myDirectory(findstr(myDirectory,'')='/';
or
myDirectory(regexp(myDirectory,'')='/';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions