Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/nf-core/vuegen/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ channels:
- bioconda
- conda-forge
dependencies:
- bioconda::vuegen=0.3.2
- bioconda::vuegen=0.5.1
- python=3.11
6 changes: 3 additions & 3 deletions modules/nf-core/vuegen/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process VUEGEN {
label 'process_single'
conda "${moduleDir}/environment.yml"
container "dtu_biosustain_dsp/vuegen:v0.3.2-nextflow"
container "dtu_biosustain_dsp/vuegen:v0.5.1-nextflow"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this container moved to the nf-core quay.io please?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need special permission? are there instructions for moving it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a core member (like me) needs to do it. could you prepare it according to step 2 here please https://nf-co.re/docs/checklists/community_governance/core_team#making-custom-docker-containers-for-modules

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. We have a Dockerfile and I will add it to the module here, see: Multiomics-Analytics-Group/nf-vuegen#1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that most core modules 'only' have a conda environment file. Would you then auto-build the docker container (I like wave, but so far i think one has to either use wave or docker, and cannot 'just' use wave for modules which do not have their own docker images)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you have everything in a conda env file, you can just use seqera containers to build docker and singularity images: https://nf-co.re/docs/tutorials/nf-core_components/using_seqera_containers

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.


input:
val input_type
Expand Down Expand Up @@ -36,7 +36,7 @@ process VUEGEN {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
vuegen: \$( vuegen --version | sed -e "s/vuegen //g" )
vuegen: \$( python -c "import vuegen; print(vuegen.__version__)" )
END_VERSIONS
"""

Expand All @@ -48,7 +48,7 @@ process VUEGEN {

cat <<-END_VERSIONS > versions.yml
"${task.process}":
vuegen: \$( vuegen --version | sed -e "s/vuegen //g" )
vuegen: \$( python -c "import vuegen; print(vuegen.__version__)" )
END_VERSIONS
"""
}
10 changes: 5 additions & 5 deletions modules/nf-core/vuegen/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ nextflow_process {
"Static_Plots.py": path(process.out.output_folder[0] + "/sections/Plots/Static_Plots.py")
.readLines()[0..3].sort().join('\n').md5()
],
versions: process.out.versions
versions: path(process.out.versions[0]).yaml,
]).match()
}
)
Expand Down Expand Up @@ -80,7 +80,7 @@ nextflow_process {
"quarto_report.qmd": path(process.out.output_folder[0] + "/quarto_report.qmd")
.readLines()[0..3].join('\n').md5()
],
versions: process.out.versions
versions: path(process.out.versions[0]).yaml
]).match()
}
)
Expand Down Expand Up @@ -111,7 +111,7 @@ nextflow_process {
"quarto_report.qmd": path(process.out.output_folder[0] + "/quarto_report.qmd")
.readLines()[0..3].sort().join('\n').md5()
],
versions: process.out.versions
versions: path(process.out.versions[0]).yaml,
]).match()
}
)
Expand All @@ -138,10 +138,10 @@ nextflow_process {
assert snapshot(
process.out.output_folder.collect { file(it).getName() } +
process.out.output_files.collect { file(it).getName() },
versions: process.out.versions
versions: path(process.out.versions[0]).yaml,
).match()
}
)
}
}
}
}
58 changes: 33 additions & 25 deletions modules/nf-core/vuegen/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
"vuegen - directory (HTML report) -stub": {
"content": [
{
"versions": [
"versions.yml:md5,c3e7ebc433dcacf3d15e1113fd44f5ec"
]
"versions": {
"VUEGEN": {
"vuegen": "0.5.1"
}
}
},
[
"report"
]
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.5"
"nextflow": "24.10.6"
},
"timestamp": "2025-04-22T09:34:45.900956"
"timestamp": "2025-10-20T13:25:42.669804"
},
"vuegen - directory (HTML report)": {
"content": [
Expand All @@ -24,16 +26,18 @@
"quarto_report.html": "0129d189059f27b3d2ff6f328cd18ef9",
"quarto_report.qmd": "e60a379de892055748e4597f9d8c656c"
},
"versions": [
"versions.yml:md5,c3e7ebc433dcacf3d15e1113fd44f5ec"
]
"versions": {
"VUEGEN": {
"vuegen": "0.5.1"
}
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.5"
"nextflow": "24.10.6"
},
"timestamp": "2025-04-22T09:04:23.56469"
"timestamp": "2025-10-20T13:24:59.558083"
},
"vuegen - directory (PDF report)": {
"content": [
Expand All @@ -43,37 +47,41 @@
"quarto_report.pdf": true,
"quarto_report.qmd": "c447088ca2a435acf926ec5e95c51265"
},
"versions": [
"versions.yml:md5,c3e7ebc433dcacf3d15e1113fd44f5ec"
]
"versions": {
"VUEGEN": {
"vuegen": "0.5.1"
}
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.5"
"nextflow": "24.10.6"
},
"timestamp": "2025-04-22T09:05:54.139709"
"timestamp": "2025-10-20T13:25:37.140787"
},
"vuegen - directory (Streamlit report)": {
"content": [
{
"output_folder": true,
"output_files": {
"Homepage.py": "Homepage.py:md5,483a41696c225663772d68ff2d664493",
"report_manager.py": "report_manager.py:md5,ed15eefa722b7a2f08cca016c0c8e28d",
"All_Formats.py": "e2a56e761eb537da8f9809cbc0b63a9d",
"Interactive_Plots.py": "3198216240ef9b86d5b1ed722bd9b31c",
"Static_Plots.py": "931fd04e2e49cb14d169747b6d5bbd1e"
"Homepage.py": "Homepage.py:md5,a46395bbdfb127463d51d8f601f2ad83",
"report_manager.py": "report_manager.py:md5,a683071ba8bc6e371c8617ef9c3fb84e",
"All_Formats.py": "1f61acc3ca34f6ff941c109d93570815",
"Interactive_Plots.py": "4857dc511178812e93c2037c8bbe04f4",
"Static_Plots.py": "ae9c2e46ae9a9e0e5e98fcce87cd7f80"
},
"versions": [
"versions.yml:md5,c3e7ebc433dcacf3d15e1113fd44f5ec"
]
"versions": {
"VUEGEN": {
"vuegen": "0.5.1"
}
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.5"
"nextflow": "24.10.6"
},
"timestamp": "2025-04-22T09:03:48.375488"
"timestamp": "2025-10-20T13:19:47.56244"
}
}
Loading