Skip to content

Use self.is_draw_labels = properties['labels'] == "yes" - #128

Merged
Nanguage merged 1 commit into
GangCaoLab:masterfrom
ljw20180420:yes_no
Sep 14, 2026
Merged

Nanguage merged 1 commit into
GangCaoLab:masterfrom
ljw20180420:yes_no

Conversation

@ljw20180420

Copy link
Copy Markdown
Contributor

My pull request fix the bug that PlotGenes use self.is_draw_labels = properties['labels'] == 'on' to control whether to plot gene names https://github.com/GangCaoLab/CoolBox/pull/123/commits. I change it to self.is_draw_labels = properties['labels']. However, I find that coolbox format True and False to "yes" and "no" for compatible with pyGenomeTracks.

self.properties = format_properties(properties)

This pull request fixes my mistake by self.is_draw_labels = properties['labels'] == 'yes'.

@Nanguage
Nanguage merged commit 6c6d8f4 into GangCaoLab:master Sep 14, 2026
1 of 2 checks passed
@ljw20180420
ljw20180420 deleted the yes_no branch September 22, 2026 01:14
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