-
Notifications
You must be signed in to change notification settings - Fork 27
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
How does MegaQC determine the date (x axis) for each report uploaded? #422
Comments
At the point where MegaQC ingests the reports, it chooses either the So I'm not sure why this particular issue happened to you. How did you restore the database? Also, can you run an SQL query to look at the data? Something like |
Perhaps the long term fix is to force it and supply dates along with the upload then, but I don't understand why I'm seeing different behaviour vs previous deployment. I guess it's possible that I'm only seeing a subset of the data (for one particular config version) but unclear why that would be, given I know there are multiple 'created_at' values present in the DB. The DB was backed up using pg_dump and then restored using pg_restore. The megaqc container was then spun up with a config to point it to the restored database (although I do seem to be having connection issues on upload - not sure whether that's due to a container setting or something outside on the new server). Output of suggested query:
|
Yes, I would recommend this if you have more precise metadata available to you
I don't either, but I think you're most likely right that not all data is being loaded correctly. If you investigate further please let me know what you find. |
Our previous installation of MegaQC seemed to mostly work as expected, with each tranche of data appearing on the x axis approximately on the date of sequencing/analysis (so we could see what changed between runs). However, having now restored from backup on a new system, all data-points are being plotted on the same date (corresponding to the config_creation_date field in multiqc_data.json).
I don't believe I've changed any settings so what is the mechanism for deciding where on the x axis data should sit? I don't see any other dates within the JSON, and the upload dates are still the same as before (as the DB was restored rather than recreated), so I'm a bit confused about what could have changed.
I also note that recreating the database on a separate system does create correct plots (with plausible x axes) so I don't think the JSONs are wrong. I'd like to avoid doing this on the production version as the original database has a lot of saved filters that I'd have to remake manually.
The text was updated successfully, but these errors were encountered: