Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slash conversion #152

Open
schiefma opened this issue Jun 3, 2020 · 0 comments
Open

Slash conversion #152

schiefma opened this issue Jun 3, 2020 · 0 comments

Comments

@schiefma
Copy link

schiefma commented Jun 3, 2020

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,'')='/';

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

No branches or pull requests

2 participants