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 parser.py - fix for mphys and mx cards #25

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

py1sl
Copy link
Contributor

@py1sl py1sl commented Feb 28, 2024

fixes a dtype used before allocated error for extra data cards starting with "m".
Followed the existing pattern with none materials related cards (mphys) added to the if statement and material related (mx) card added a seperate dtype allocation.

There possibly should be a final else clause with dtype = None to catch any other data cards starting with m that are not dealt with already.

@psauvan psauvan merged commit fc2198b into GEOUNED-org:main Feb 29, 2024
@psauvan
Copy link
Member

psauvan commented Feb 29, 2024

Thanks!!

@py1sl py1sl deleted the fix-"m"-data-cards branch February 29, 2024 12:48
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

Successfully merging this pull request may close these issues.

2 participants