The Week 5
As scheduled, we met again last Thursday i.e on 11th June. When I entered in the conference call, Andreas and Matthias were already there and discussing something. We soon started our discussion. This time, I was required to implement all the necessary meta-data classes to completely have support for annotation in COBRApy. As we discussed earlier to have these meta-data classes behave exactly like "dictionary" of python, basically doing " Duck Typing" , I thought it would be better if I inherit these classes from "dict" and "list" themselves, and override their corresponding methods of setting values by putting the restrictions which we want to have on the annotations. So I made the following classes: CVTerm class, by inheriting from dict, which will handle the external resources linked to that component, History class, again by inheriting from dict, that will keep a track of the History of that component, ListofKeyValuePair class, by inh...