-
Couldn't load subscription status.
- Fork 738
Support running nextflow script in cygwin #6367
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
base: master
Are you sure you want to change the base?
Conversation
Support running in cygwin by translating cygwin-style paths (starting with /cygrdrive/) to windows-style paths. Signed-off-by: Mark Woon <[email protected]>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
nextflow
Outdated
| NXF_VER=${NXF_VER:-'25.07.0-edge'} | ||
| NXF_ORG=${NXF_ORG:-'nextflow-io'} | ||
| NXF_HOME=${NXF_HOME:-$HOME/.nextflow} | ||
| NXF_HOME=${NXF_HOME:-$home/.nextflow} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why using home instead of HOME? think this will break default launcher
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you look at line 19 of my commit, you'll see that home is a local variable.
The whole point is to rewrite cygwin mounts as windows mounts so that the script works.
Would you prefer if I named it something else? Maybe normalized_home?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. indeed it would be preferable to use a different name. what about using NXF_HOME (if not defined yet)?
avoid local variable "home" per request Signed-off-by: Mark Woon <[email protected]>
|
How about this? |
Support running in cygwin by translating cygwin-style paths (starting with /cygrdrive/) to windows-style paths.