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

Normalize usage to prefix_map #155

Merged
merged 5 commits into from
Sep 22, 2021
Merged

Normalize usage to prefix_map #155

merged 5 commits into from
Sep 22, 2021

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Sep 22, 2021

All instances of curie_map and prefixmap have been normalized to prefix_map both in variable names and function names. The notable exception is when interacting with dictionaries coming from SSSOM yaml, where the name is unfortunately curie_map - so this is maintained as a constant string called sssom.util.PREFIX_MAP_KEY in case it's possible we can ever change it.

matentzn
matentzn previously approved these changes Sep 22, 2021
Copy link
Collaborator

@matentzn matentzn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You give me hope that a better open-source and open data world is possible. THANK YOU!

@cthoyt
Copy link
Member Author

cthoyt commented Sep 22, 2021

@matentzn can you adjust the settings so it's not possible to merge to the master branch without CI tests passing?

@matentzn
Copy link
Collaborator

I made it harder, but admin can still overwrite if necessary..

image

@cthoyt cthoyt requested a review from matentzn September 22, 2021 09:34
sssom/io.py Outdated Show resolved Hide resolved
@cthoyt cthoyt requested a review from matentzn September 22, 2021 10:28
@matentzn
Copy link
Collaborator

Thank you!

Somehow the merge button is not red after the approval is given.. but QC is not yet run. Annoying!

@cthoyt cthoyt merged commit 69098aa into master Sep 22, 2021
@cthoyt cthoyt deleted the cull-curie-nomenclature branch September 22, 2021 10:55
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