cxr_covid
cxr_covid copied to clipboard
Update make_csv.py
include these into series_description_map:
'TORAX AP': 'AP',
'TÓRAX AP': 'AP',
'TORAX BIPE AP': 'AP',
'W034 TÓRAX LAT': 'LAT',
'W033 TÓRAX P.A.': 'PA',
Add another exception to series_description:
try:
series_description = metadata['0008103E']['Value'][0]
except Exception as e:
try:
series_description = metadata['00081032']['Value'][0]['00080104']['Value'][0]
except Exception as e:
try:
series_description = metadata["00185101"]["Value"][0]
except Exception as e:
raise e