nf-core / website

Code and files for the main nf-core website.
https://nf-co.re
MIT License
66 stars 187 forks source link

Add a warning to pipeline page for DSL1 pipelines #1421

Open ewels opened 1 year ago

ewels commented 1 year ago

We know on the pipeline health page whether a pipeline is DSL1 or DSL2 (check for modules directory). It would be good to show a warning on pipeline pages (old versions, pipelines that haven't been updated yet) flagging that a pipeline is DSL1.

We can suggest using a -dsl1 flag and mention using older versions of Nextflow when DSL1 support is gone.

sofiahag commented 11 months ago

Ah, right, so the pipeline health page is also just an iframe from the old site. Guess this will be re-written to the new page in the future. Maybe put this on hold until then?

Code: https://github.com/nf-core/website/blob/d71a3ca3835139b4e285157f057fecd8028bfd52/src/pages/pipeline_health.astro#L6

joaquimgamero commented 6 months ago

hey folks, wondering if I can help pushing this during hackathon, @sofiahag are you around? 👀 Otherwise @mashehu I might give this a go aswell

joaquimgamero commented 6 months ago

@alvaromartmart is working on revamping the pipeline health page and is adding a is_DSL2 flag so looks like we've got a proper setting to work on this! 🥳

https://github.com/nf-core/website/blob/a7f9986ff594e3cb93be79d5440d6075c26443d9/bin/pipelines.json.js#L181-L182