fli-iam / shanoir-ng

Shanoir (SHAring iN vivO Imaging Resources)
GNU General Public License v3.0
19 stars 21 forks source link

[GIN] Be more robust during import #2241

Open jcomedouteau opened 3 weeks ago

jcomedouteau commented 3 weeks ago

During import, we currently have a lot of problems with accent / special characters in folder / file names. (even in dicom fields ?) We should be more robust and accept / rename these files before treating them I guess (but what about existing dicomdir then ?) Proposed by benjamin for the GIN (but can be considered as a bug or not ?)

michaelkain commented 3 weeks ago

excellent, yes, we have to address this systematically, the problem is that a huge variety of chars is possible in dicom, perfect example seriesName. As soon as a DICOM tag has a relation to a file path at some moment, we have to parse it through before entering mysql database and remove all none-filesystem compatible chars.