Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

modularizing commonly used functions #17

Open
JamesRH opened this issue Oct 26, 2012 · 2 comments
Open

modularizing commonly used functions #17

JamesRH opened this issue Oct 26, 2012 · 2 comments

Comments

@JamesRH
Copy link
Contributor

JamesRH commented Oct 26, 2012

Make lib directory
Four files:

  • treefuncs.py : Tree functions
  • metadata: e.g. locateDatabase()
  • stringfunctions.py (?)
  • commondbaccess.py - common functions for getting data from db (e.g. organism name <-> ID), presence\absence slices, ...

Need to rewrite existing imports to use new files and update docs

@mattb112885
Copy link
Owner

I have started working on this - see the lib/ directory. Treefuncs I've made some pretty good progress on, as well as metadata (but need to update options in some of the functions to use the metadata by default unless someone overrides them for whatever reason). The other ones still need implementing.

@JamesRH
Copy link
Contributor Author

JamesRH commented Jan 23, 2013

Do you think it is OK for /scripts to call lib, or only call /src/ (which, in turn call lib). I think direct dependencies are OK but I wanted to check.

James H.

mattb112885 [email protected] wrote:

I have started working on this - see the lib/ directory. Treefuncs I've made some pretty good progress on, as well as metadata (but need to update options in some of the functions to use the metadata by default unless someone overrides them for whatever reason). The other ones still need implementing.


Reply to this email directly or view it on GitHub.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants