-
Notifications
You must be signed in to change notification settings - Fork 22
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 OpenWormReader to use the latest version of PyOpenWorm (pt 1) #10
Comments
@mwatts15 I've updated https://github.com/openworm/c302/blob/master/c302/OpenWormReader.py to be runnable with:
similarly to
which reads directly from the latest spreadsheet. This works with the version of PyOpenWorm we use in the Docker installation: https://github.com/openworm/OpenWorm/blob/development/Dockerfile#L105, but not the latest in the dev branch... |
There are a couple things to update:
|
@mwatts15 I've taken out all of those references to the files in the other CElegansNeuroML repo in the latest commit, which doesn't seem to have been merged into your branch: a804997#diff-4dca74f5e9f27a6180a8aa5606bf514cL25. Not sure what you mean by "The database has to be explicitly cloned now". Can't this be a step integrated in an updated setup.py for PyOpenWorm? |
Thanks. Why not use the logging module in the initializer? When I use OpenWormReader outside of that script, wouldn't I generally want the option to quiet its output?
You run a command |
I've just used the simpler print_() statement to make it easier to follow logs across c302/pyNeuroML/libNeuroML etc. e.g.
I know they could all be updated to use logger, but hope you can live with it for now... Re the database, will try that. I assume pow is an executable created when PyOpenWorm is installed? Any issue with this overwriting a system command pow for calculating powers? |
Yes, |
As a first approximation, can just hard-code
<http://openworm.org/entities/bio#worm0>
as the context to query against (it's sort of the 'top-level' context
produced by insert_worm.py into the OpenWormData repo). Will be modified in
owupd1 to its final form.
The text was updated successfully, but these errors were encountered: