Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Chrome #6

Closed
fernandomeyer opened this issue Jan 24, 2025 · 3 comments
Closed

Google Chrome #6

fernandomeyer opened this issue Jan 24, 2025 · 3 comments

Comments

@fernandomeyer
Copy link

Labels in the visualization of the output files summary_states_heatmap.html and summary_heatmap.html from the pipeline example appear to be cut in Google Chrome. They look fine in Firefox.

@hforoughmand
Copy link
Collaborator

Would you please give me the command line that produces these truncated labels? And which labels are truncated? In my chrome browser, in Ubuntu 22.04, although in the sample input there are only a few countries/states and a few lineages, nothing is cropped.

@fernandomeyer
Copy link
Author

On Jan 24, I ran the example using an installation from source with the command: bash SDPlots_lineages_local.sh testdata/metadata.tsv testdata/months.txt outputs 0.1.

On Feb 10, I ran the example using an installation from Bioconda: corona_lineage_dynamics testdata/metadata.tsv testdata/months.txt output 0.1.

The labels were cropped on Chrome with the first file, but not with the second. Maybe there was a package change between the date of the first run and the second, and this was fixed.

I noticed that the Javascript versions that are loaded in the HTML changed:

Jan 24:

<script src="lib/htmlwidgets-1.6.4/htmlwidgets.js"></script>
<script src="lib/d3-3.5.3/./d3.min.js"></script>
<link href="lib/d3heatmapcore-0.0.0/heatmapcore.css" rel="stylesheet" />
<script src="lib/d3heatmapcore-0.0.0/heatmapcore.js"></script>
<script src="lib/d3-tip-0.6.6/index.js"></script>
<script src="lib/d3heatmap-binding-0.6.1.2/d3heatmap.js"></script>

Feb 10:

<script src="lib/htmlwidgets-1.6.4/htmlwidgets.js"></script>
<script src="lib/d3v3-3.5.3/./d3v3.min.js"></script>
<link href="lib/d3heatmapcore-0.0.0/heatmapcore.css" rel="stylesheet" />
<script src="lib/d3heatmapcore-0.0.0/heatmapcore.js"></script>
<script src="lib/d3v3-tip-0.6.6/index.js"></script>
<script src="lib/d3heatmap-binding-0.9.0/d3heatmap.js"></script>

@hforoughmand
Copy link
Collaborator

Since in my re-execution of the codes I don't see any problem with the labels, I close this comment. Please feel free to open it again, if you could reproduce similar problems.

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

No branches or pull requests

2 participants