-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix font problems in devteam/xy_plot tool #71
Comments
ping @davebx |
updated on Main in 34a4dd4 |
Retesting |
@martenson @natefoo version 1.0.2 fails. Does this look like a Galaxy config problem or a tool problem?
|
I propose hiding the tool and adjusting the tutorial to use charts. |
This can be fixed relatively easily by using exit codes instead of stderr. The warning is caused by conda using a newer version of fontconfig than the one on the system, for which |
@natefoo the actual error is different (can be seen in the history: https://usegalaxy.org/histories/view?id=223db61e77830a8e).
|
That's hid 516, hid 517 was successful though. |
Oh so you think 516 had bad inputs? 517 is definitely just warning written to stderr, I can see the plot fine. |
Well, interesting development... fontconfig in the R conda env is correctly reading its own fonts.conf. But when we run jobs, we set If I don't set |
However, I am inclined to just unset this and fix any old tools it breaks as they are discovered. Scatterplot and Histogram are the likely subjects. |
Well this is interesting. I ran Plotting tool, Scatterplot, and Histogram, then disabled With it unset, Plotting tool ends ok but the fonts in the plot are symbol fonts: Unsetting it had no effect on Scatterplot or Histogram. I think maybe the tool should add a requirement on some font package in conda? |
test history (late, you found it in other ticket): https://usegalaxy.org/u/jen/h/16s-microbial-analysis-with-mothur---proccess Dataset 517 is in an error state (red). The graph does look how I would expect it to (but can't really double check, am comparing with whatever tool version was used to create tutorial graphics, this has never been on main before and haven't checked at eu). |
@natefoo right, that was the problem before - red error dataset but graphics produced. If you create a ticket for a tool update, could you link it back? That might be a less risky choice (adding conda dep to tool) rather than making a change that impacts all tools. |
yes, hid 516 failed because of usage - The way the tool form is designed, each series input needs to have the "Header in first line?" set to yes individually. This is easy to miss, especially when doing that step in the tutorial where you add in 10+ series, each its own section. The form could be modified or the stderr could be more informative (if can't parse the first line, fail but warn user "Do the inputs have headers? Currently set as "No" for series N." But considering how much other stuff is going on, is minor, so didn't report it, just the hid 517 failure. I'll deal with that later, especially if users start to report running into it (expect they will, students/new users use these tutorials). |
I've fixed this by installing DejaVu fonts into CVMFS and making fontconfig aware of them with
(where |
thanks for testing, also worked for me. changing test status. |
MTS: https://toolshed.g2.bx.psu.edu/view/devteam/xy_plot/ecb437f1d298
Tool: Plotting Tool for multiple series and graph types | 1.0.2
Used in this GTN tutorial, section "Hands-on: Plot Rarefaction": http://galaxyproject.github.io/training-material/topics/metagenomics/tutorials/mothur-miseq-sop/tutorial.html
The text was updated successfully, but these errors were encountered: