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

Add constants for resource file paths #12

Merged
merged 1 commit into from Mar 17, 2020

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Mar 16, 2020

This PR saves the paths to the grounding terms file and to the mesh mapping file as constants, such that other scripts can look them up with gilda.resources.GROUNDING_TERMS_PATH and gilda.resources.MESH_MAPPINGS_PATH, respectively.

This could make it easier for alternative scripts to write and read these files.

This makes it easier for alternative scripts to generate grounding terms since they can programatically access the path to which they should write it by importing `gilda.resources.GROUNDING_TERMS_PATH`
@bgyori
Copy link
Member

bgyori commented Mar 16, 2020

Looks good, thanks - will merge soon.

@bgyori bgyori merged commit 44fef65 into gyorilab:master Mar 17, 2020
@cthoyt cthoyt deleted the improve-path-handling branch March 17, 2020 14:38
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.

None yet

2 participants