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

pds4_create_xml_index: Give user error when label file is generated with errors #40

Open
rfrenchseti opened this issue Sep 24, 2024 · 1 comment

Comments

@rfrenchseti
Copy link
Collaborator

Right now if a label file is generated with errors such as:

            <doi>[[["KeyError('doi') at line 26"]]]</doi>
[[["KeyError('keyword') at line 27"]]]            <description>[[["KeyError('description') at line 30"]]]</description>
        </Citation_Information>
[[[IndexError(list index out of range) at line 41]]]

the only way the user knows is if they look at the label file by hand. The program should check for errors and display a message when the program is run.

@matthewtiscareno
Copy link
Collaborator

Is this going to be fixed by PR #38?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants