Python stuff
In Python, it's really easy to keep a bunch of variables together. I've started using this a lot recently. Just make a dummy class like so...
class container:Then you can fill an instance of it with any data you want to keep together. For instance...
pass
my_gene = container()You can use the same dummy container for any collection of data, if you are not too worried about formalising its contents.
my_gene.length = 100
my_gene.name = "Something"
dir(my_gene) #to see what is in there
0 Comments:
Post a Comment
<< Home