You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In BiodbConn some methods form groups belonging to features that are enabled by flag inside definitions.yml.
Examples are : downloadable, remote, writable, compound.db, etc.
Would it be possible to move these methods by group in specific class or source file, and define them dynamically inside the concrete class at the moment it is instantiated.
This would decrease the number of methods defined inside BiodbConn, and allow to extend biodb by easily adding more of these features.
When defining those methods dynamically, a check could be made also on implementation of abstract methods (do... methods most of the time) inside the concrete connector class.
In
BiodbConnsome methods form groups belonging to features that are enabled by flag insidedefinitions.yml.Examples are : downloadable, remote, writable, compound.db, etc.
Would it be possible to move these methods by group in specific class or source file, and define them dynamically inside the concrete class at the moment it is instantiated.
This would decrease the number of methods defined inside
BiodbConn, and allow to extend biodb by easily adding more of these features.When defining those methods dynamically, a check could be made also on implementation of abstract methods (
do...methods most of the time) inside the concrete connector class.