Add support for metromap svgs for bump-versions#3978
Add support for metromap svgs for bump-versions#3978Joon-Klaps merged 16 commits intonf-core:devfrom
Conversation
dev > main for 3.4.0 release
… into bump-versions-svg
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
nice idea! had a similar problem when writing |
|
Yeah, I tried to look for solutions within But can I include a try and catch block to try if cairo could be found, or do you feel like it will become to messy? |
|
don't think it is worth the effort tbh. if i remember correctly in the past, using cairo wasn't the easiest thing either to get everything correct. |
PR checklist
More & more nf-core pipelines are having metromaps and add their versions to those metromaps, see search. Thought it might be interesting to update those files as well.
The tricky part is exporting those SVG files to PNG's & PDFs as I wasn't able to find good packages that export them without cairo. This means, the user needs to install cairo when wanting to export them (
conda install cairo).I don't know what your suggestions would be to continue with this? Do we (I) add the cairo to the bioconda package and throw a warning when installing with pip and a bump versions that cairo is missing? Or, (II) do we throw a warning in general, when svg's are found with versions in them that we cannot export them to
png/pdfunless cairo installed nativly?CHANGELOG.mdis updateddocsis updated