Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

Fix #144 "Argument too long" from curl #145

Closed samuell closed 9 months ago

samuell commented 9 months ago

This fix fixes bug #144 , by only pointing to a file path in the curl command, rather than outputting the full JSON content, which apparently can make the command too long for large files.

Expected outcome

See #144 for how to reproduce the bug, as well as reproduce the correct behavior, which is that the upload now works also for large files, with this fix.