Skip to content

Conversation

markwoon
Copy link

Support running in cygwin by translating cygwin-style paths (starting with /cygrdrive/) to windows-style paths.

Support running in cygwin by translating cygwin-style paths (starting with /cygrdrive/) to windows-style paths.

Signed-off-by: Mark Woon <[email protected]>
Copy link

netlify bot commented Aug 27, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 016b227
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68b730590bb0e000088aacaa
😎 Deploy Preview https://deploy-preview-6367--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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}
Copy link
Member

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

Copy link
Author

@markwoon markwoon Sep 2, 2025

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?

Copy link
Member

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]>
@markwoon
Copy link
Author

markwoon commented Sep 2, 2025

How about this?

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

Successfully merging this pull request may close these issues.

3 participants