You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing arguments into run_Slingshot.py, the outPrefix argument seems to only take the first letter of the argument and discard the rest.
When this is run:
FileNotFoundError: [Errno 2] No such file or directory: 'o/PseudoTime.csv'
This happens with an absolute path as well, where it simply looks for "C/PsuedoTime.csv". Setting the default to such a string results in the same error, bizarrely (including passing a raw string).
This error was discussed and a solution was discussed here: StackOverflow - however, the solution only applies to the newer argparse and not optparse. I couldn't find a similar issue anywhere else. The nargs argument doesn't work in a similar fashion between the two parsing options.
Could possibly upgrade to argparse for a solution.
Also, for the instance when clusters = 1, a directory is not created for the output files with mkdir.
The text was updated successfully, but these errors were encountered:
Kevin has pointed out the issue is that the script is trying to read outPaths as a list and iterating through each outPath for only the clusters = 1 case. Since this behavior is not present in the multiple clusters case, the behavior is changed to only try and read one path from outPaths. Will be solved in slingshot-docker branch.
When passing arguments into run_Slingshot.py, the outPrefix argument seems to only take the first letter of the argument and discard the rest.
When this is run:
The following error occurs:
This happens with an absolute path as well, where it simply looks for "C/PsuedoTime.csv". Setting the default to such a string results in the same error, bizarrely (including passing a raw string).
This error was discussed and a solution was discussed here: StackOverflow - however, the solution only applies to the newer argparse and not optparse. I couldn't find a similar issue anywhere else. The nargs argument doesn't work in a similar fashion between the two parsing options.
Could possibly upgrade to argparse for a solution.
Also, for the instance when clusters = 1, a directory is not created for the output files with mkdir.
The text was updated successfully, but these errors were encountered: