Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update make_csv.py #4

Open
Nlin2 opened this issue Dec 7, 2020 · 0 comments
Open

Update make_csv.py #4

Nlin2 opened this issue Dec 7, 2020 · 0 comments

Comments

@Nlin2
Copy link

Nlin2 commented Dec 7, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant