diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-20 03:07:51 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-05-20 03:07:51 +0000 |
commit | 717eb51215d3af70a78f9872559891b1b1dd1b12 (patch) | |
tree | 7e5b31768daf2c9fc439d5b72eacee7786feb94f /wk6/pset/dna | |
parent | 0552a2a217e527c11f70bc9371f083b44c5278bc (diff) |
Sun, May 19, 2024, 8:07 PM -07:00
Diffstat (limited to 'wk6/pset/dna')
-rw-r--r-- | wk6/pset/dna/dna.py | 5 |
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 |