sheynkman-lab / biosurfer

"Surf" the biological network, from genome to transcriptome to proteome and back to gain insights into human disease biology.
MIT License
0 stars 0 forks source link

Abstract data structure to handle relationships among parent and children #91

Open jsaquing opened 3 years ago

jsaquing commented 3 years ago

This is very much a sketch of an idea and will probably not be addressed in the initial release.

Common pattern among Biosurfer classes:

Would be nice to have some abstract data structure that implements all the above behavior in a robust way so that future development can be simpler / less redundant

Should provide similar behavior as SQLAlchemy's "relationship" objects but without depending on an underlying database (probably needs to work alongside SQLAlchemy relationships, though)