Skip to content

Update plot_ragtag_paf.R - bug fix#179

Merged
TomHarrop merged 2 commits intousegalaxy-au:masterfrom
amytims:master
Sep 15, 2025
Merged

Update plot_ragtag_paf.R - bug fix#179
TomHarrop merged 2 commits intousegalaxy-au:masterfrom
amytims:master

Conversation

@amytims
Copy link
Copy Markdown
Contributor

@amytims amytims commented Sep 15, 2025

bug fix: changed class of all_contig_names from factor to character so all_colours gets correct contig names rather than level numbers. This gets the reference contig plot colours to follow the viridis colour palette rather than plotting them all in grey and generating the warnings:
Warning messages:
1: No shared levels found between names(values) of the manual scale and the data's fill values.
2: No shared levels found between names(values) of the manual scale and the data's colour values.

bug fix: change all_contig_names from factor to character so all_colours gets correct contig names rather than level numbers
@TomHarrop
Copy link
Copy Markdown
Collaborator

Thanks @amytims! I was wondering why this wasn’t working. I’ll just bump the version and run the tests before I merge.

@TomHarrop
Copy link
Copy Markdown
Collaborator

Tests pass locally. @mthang give me a yell if you want me to update the test workflow (or remove it if no-one's using it).

@TomHarrop TomHarrop merged commit dd2c349 into usegalaxy-au:master Sep 15, 2025
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants