Mercurial > repos > greg > genotype_population_info
changeset 6:be5f52df9a25 draft
Uploaded
| author | greg |
|---|---|
| date | Fri, 09 Nov 2018 14:16:37 -0500 |
| parents | 47edf67ae650 |
| children | 899a1b99dcf0 |
| files | genotype_population_info.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/genotype_population_info.py Fri Nov 09 14:15:22 2018 -0500 +++ b/genotype_population_info.py Fri Nov 09 14:16:37 2018 -0500 @@ -49,5 +49,5 @@ # The output file will consist of columns: # Item #, Sample ID, Region with open(args.output, "w") as outfh: - for i, sample_id in sample_list: + for i, sample_id in enumerate(sample_list): outfh.write("%d\t%s\t%s\n" % (i, sample_id, region_list[1]))
