-
Notifications
You must be signed in to change notification settings - Fork 0
4 Custom Labels
Joses W. Ho edited this page Aug 20, 2018
·
1 revision
In [1]: expt1=esp.espresso(folder=path_to_expt1)
In [2]: expt11 feedlog with a total of 30 flies.
3 genotypes ['w1118;Trh-Gal4' 'w1118;UAS-Gz-TrpA1;Trh-Zal' 'Trh-Gal4>UAS-GZ-TrpA1_Trh-ZAL'].
1 temperature [22].
1 foodtype ['5% sucrose + 5% yeast extract'].
Why attach custom labels? TBC
In [3]: expt1.attach_label(label_name='starved_time',label_value='24hr')The attach_label() function will print out a message acknowledging the label attached.
starved_time has been added as a new label, with '24hr' as the custom value.
Let's examine the modified experiment.
In [4]: expt11 feedlog with a total of 30 flies.
3 genotypes ['w1118;Trh-Gal4' 'w1118;UAS-Gz-TrpA1;Trh-Zal' 'Trh-Gal4>UAS-GZ-TrpA1_Trh-ZAL'].
1 temperature [22].
1 label has been added: ['starved_time']
Notice the last line: the ESPRESSO object notes that a custom label has been added.
TBC
TBC
TBC