Hi,
I feel a bit stupid asking this question but it’s been driving me mad so here goes!
I’m trying to link a javascript file to the advanced settings area of the Task Parameters section (Tips On task) using the open() function like so:
open(‘C:\VWorks Workspace\RNASeq\Javascript\RNASeq4.txt’)
However I keep getting the following error message:
script:1:can’t open C:VWorks WorkspaceRNASeqJavascriptRNASeq4.txt: No such file or directory
I’ve tried the following fixes:
- Changing the file type from .txt to .js
- Unchecking ‘read only’ for all the folders in the file path
- Checking the file path is correct numerous times!
- Using the relative file path instead of the absolute file path
- Using a different folder location to run the script
- Using " " instead of ’ ’ to encapsulate the string file path
- Using double \ instead of single \ in the file path
I can’t believe this should be this difficult, I must be overlooking something simple! Any help with this problem would be much appreciated.
Many thanks,
Thomas