xfuren

Results 2 issues of xfuren

in import_categories.py, level is count by: level = line.count(indent) this is sometimes wrong because it also counts the non-leading indent chars...

Sometime we have not-so-standard DICOM files.... Suggestion... ds = dcmread(os.path.join(root, file),force=True) if hasattr(ds, 'ImageOrientationPatient'): series_data.append(ds)