-
Notifications
You must be signed in to change notification settings - Fork 1
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
Performance: Loading from robot
modules taking ~24 seconds
#7
Comments
There are a few things that get loaded to support Bioregistry standardization that can be made more lazy in case they're not used, I'm actually working on improving some of the underlying code in the Bioregistry in biopragmatics/bioregistry#631 right now |
Sounds like a good plan to me! |
cthoyt
added a commit
that referenced
this issue
Nov 14, 2022
Depends on biopragmatics/bioregistry#652, helps solve #7
cthoyt
added a commit
that referenced
this issue
Nov 14, 2022
* Lazy load converter from Bioregistry Depends on biopragmatics/bioregistry#652, helps with #7 * Add function for guessing the version of a parse results * Use robot merge * Add function for loading local obo graph json * Better access to properties * Inline upgrading Related to #7 * Update data.tsv * Update setup.cfg * Flake
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
I just started using this package to convert OWL to Obographs. So far it is working great! The only issue I experience so far is very slow load time when importing the
robot
module. It's not even that I'm using the module in any way; just importing it:Additional info
This happened whether or not I did
from bioontologies.robot import ParseResults, convert_to_obograph_local
orfrom bioontologies import robot
.The text was updated successfully, but these errors were encountered: