claire morandin wrote:
> Thanks Peter, true I did not realize that ercc_contigs is empty, but I am
> not sure how to "populate" the dictionary if I only have one column for
> the value but no key
You could use a "dummy value"
ercc_contigs = {}
for line in open('Faq_ERCC_contigs_name.txt'):
g
Thanks Peter, true I did not realize that ercc_contigs is empty, but I am not
sure how to "populate" the dictionary if I only have one column for the value
but no key
--
http://mail.python.org/mailman/listinfo/python-list
claire morandin wrote:
> I have the following script which does not return anything, no apparent
> mistake but my output file is empty.I am just trying to extract some
> decimal number from a file according to their names which are in another
> file. from collections import defaultdict import nump