-
Notifications
You must be signed in to change notification settings - Fork 319
Update nci_gadi.config #872
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
Since this seems to change behaviour, don't you want documentation updates as well? Similarly you might consider defaulting to previous behaviours if these new parameters are not provided. I also think you might want to work around validator warnings for the schema. |
I agree, we also don't want to encourage undocumented 'pipeline params' (as these do not come from pipelines) which is why we promote the usage of the env variables currently |
Thanks, @pontus and @jfy133! I can definitely update the documentation. To make the config more generalised, I was trying to use user-defined parameters for Regarding the default behavior: if the user does not set these values using BTW, to avoid potential conflicts with parameters that users might define in their pipeline, I can rename |
It's good if they default to the old behaviour. I still think it would make sense to update the documentation but it makes it somewhat less important I guess. But out of curiosity - how does that (or it all) work? I see the docs say "The version of Nextflow installed on Gadi has been modified to make it easier to specify resource options for jobs submitted to the cluster." - I guess that means somehow picking up and using Does that also do something to make nf-validator/nf-schema not complain about these params? |
Regarding defaulting to the old behavior: I assume that users of the old version would not have Yes, the modified version of Nextflow installed on Gadi picks up |
Ah, thanks, it seems I slipped when thinking. As for validation, I haven't tested myself lately, but https://github.com/nf-core/configs/blob/master/conf/uppmax.config#L9-L10 shows what was done to not get complaints some time ago (both were needed because of different versions included with different pipelines if I recall correctly). |
@kisarur do you plan to finish this PR? |
name: Update NCI Gadi Config
about: A new update to NCI Gadi cluster config
Please follow these steps before submitting your PR:
[WIP]
in its titlemaster
branchSteps for adding a new config profile:
conf/
directorydocs/
directorynfcore_custom.config
file in the top-level directoryREADME.md
file in the top-level directoryprofile:
scope in.github/workflows/main.yml
.github/CODEOWNERS
(**/<custom-profile>** @<github-username>
)