Closed nicolasbrossard closed 1 year ago
I ran the pipeline on an archive that contains nothing and got this:
Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
This is coming from a call to NeuroDB::MRI::isDicomImage. We should adapt this function so that it can handle empty archives. I believe NeuroDB::MRI::isEcatImage has the same bug and should be corrected also.
NeuroDB::MRI::isDicomImage
NeuroDB::MRI::isEcatImage
I ran the pipeline on an archive that contains nothing and got this:
This is coming from a call to
NeuroDB::MRI::isDicomImage
. We should adapt this function so that it can handle empty archives. I believeNeuroDB::MRI::isEcatImage
has the same bug and should be corrected also.