summaryrefslogtreecommitdiff
path: root/wk6/pset/dna/dna.py
diff options
context:
space:
mode:
Diffstat (limited to 'wk6/pset/dna/dna.py')
-rw-r--r--wk6/pset/dna/dna.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py
index a390056..b5132a8 100644
--- a/wk6/pset/dna/dna.py
+++ b/wk6/pset/dna/dna.py
@@ -34,9 +34,8 @@ def main():
sequence = sequence.join(file.readlines())
# TODO: Find longest match of each STR in DNA sequence
- str1 = rows[0]
- print('38', str1['name'])
- print('39', fields[1])
+ str1 = rows[0][fields[1]]
+ print('38', str1)
# TODO: Check database for matching profiles