Repository navigation
🐛 allow editing using nf-core pipelines schema build by setting fa_icon - #590
Conversation
…icon - webbrowser crashed. @mashehu gave the hint how to fix it, see conversation: https://nfcore.slack.com/archives/CE5LG7WMB/p1760360264830159 Will play around with the schema file and see if further updates can be made.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
- the other way around is unfortunately not automatic (adding defaults set in schema back to nextflow.config)
|
Next up decide if set defaults in For example the
|
|
@enryH would be good if we can get ready of the 37 warnings. |
|
Where do I see these? Is it using the validation tool? |
|
yes if you run locally:
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a web browser crash issue in the nf-core pipelines schema build command by adding missing fa_icon properties and default values to various parameters in the Nextflow schema. The changes ensure the schema builder can properly render all parameters without encountering undefined icon references.
Key Changes:
- Added missing default values to boolean and numeric parameters
- Corrected a false
fa_iconvalue to a valid Font Awesome icon - Standardized numeric default values (removed unnecessary decimal points)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "fa_icon": "fas fa-font", | ||
| "default": "pairwise" |
There was a problem hiding this comment.
Adding a default value of 'pairwise' for the contrasts parameter may override user intent. The description indicates this parameter 'Overwrites [--ref_condition]', suggesting it should remain unset by default to allow ref_condition to take effect.
| "fa_icon": "fas fa-font", | |
| "default": "pairwise" | |
| "fa_icon": "fas fa-font" |
There was a problem hiding this comment.
@ypriverol Is this suggestion relevant?
Co-authored-by: Copilot <[email protected]>
Yes they should always be in sync, no? Are they currently not? |
- based on nextflow.config
- only true values are set in schema (convention?) - a boolean which is preset to false, has no explicit schema value
- again a convention
- specify that the output folder should be a folder
|
I do not get any more linting error when running |
https://nfcore.slack.com/archives/CE5LG7WMB/p1760360264830159
Will play around with the schema file and see if further updates can be made.
Documentation:
PR checklist
nf-core pipelines lint).nextflow run . -profile test_lfq,docker --outdir <OUTDIR>).nextflow run . -profile debug,test_lfq,docker --outdir <OUTDIR>).