From b879a2914e6c82e4136fcbaf1272bf0efa57d6bd Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Mon, 6 May 2024 06:16:34 +0000 Subject: Sun, May 5, 2024, 11:16 PM -07:00 --- wk6/pset/dna/dna.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wk6') diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py index db684b8..5526859 100644 --- a/wk6/pset/dna/dna.py +++ b/wk6/pset/dna/dna.py @@ -19,13 +19,13 @@ def main(): # TODO: Read database file into a variable rows = [] - with open() as file: + with open(argv[0]) as file: reader = csv.DictReader(file) for row in reader: rows.append(row) # TODO: Read DNA sequence file into a variable - with open() as file: + with open(argv[1]) as file: # TODO: Find longest match of each STR in DNA sequence -- cgit v1.2.3