bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Sheet creation error from slashes in investigation title #1896

Closed mikkonie closed 5 months ago

mikkonie commented 5 months ago

When creating sample sheets from template, we get an unexpected error if the investigation title contains slashes:

ISA-Tab import failed: [Errno 2] No such file or directory: '/tmp/tmpuvoltlic/Template_Test/a_investigation_title/slash_Biocrates_MxP_Quant_500_Kit_LC.txt'

We need to replace the characters internally to prevent this. Slashes in titles should still be allowed.

mikkonie commented 5 months ago

It turns out this actually happens in cubi-isa-tempates, will open a separate ticket there.

mikkonie commented 5 months ago

Fixed. Should upgrade to the next cubi-isa-templates release once it's tagged, but a dev commit is fine for now.