Update nci_gadi.config#872
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? |
|
@maxulysse I'll be submitting a new pull request soon (built on top of #920) to support the 'Strict Syntax' mode coming to Nextflow. It will also include some minor polishing. Hope you can merge that request once it's submitted. |
|
You have some merge conflicts here. |
|
@maxulysse I've just opened #1096, and we'd prefer that it be merged for |
ok I'm closing this one then |
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 titlemasterbranchSteps for adding a new config profile:
conf/directorydocs/directorynfcore_custom.configfile in the top-level directoryREADME.mdfile in the top-level directoryprofile:scope in.github/workflows/main.yml.github/CODEOWNERS(**/<custom-profile>** @<github-username>)