We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905825d commit a9eae1eCopy full SHA for a9eae1e
src/electron/frontend/core/components/pages/Page.js
@@ -248,7 +248,7 @@ export class Page extends LitElement {
248
249
results.forEach((info) => {
250
const { file } = info;
251
- const fileName = file.split("/").pop();
+ const fileName = file.eplace(/\\/g, "/").split("/").pop();
252
console.log("File name:", fileName);
253
const [subject, session] = fileName.match(/sub-(.+)_ses-(.+)\.nwb/).slice(1);
254
console.log("Subject:", subject, "Session:", session);
0 commit comments