summaryrefslogtreecommitdiff
path: root/wk6/pset/dna
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-06 04:09:01 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-06 04:09:01 +0000
commit77884c479a95521a88f0f2a52760184fe9142dc2 (patch)
tree0f872e45418bf1228722f7ec37ca45ab75046961 /wk6/pset/dna
parentaecf5d78be1f502451d70cdc926c226e387f0743 (diff)
Sun, May 5, 2024, 9:09 PM -07:00
Diffstat (limited to 'wk6/pset/dna')
-rw-r--r--wk6/pset/dna/dna.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py
index 2089add..93b6c67 100644
--- a/wk6/pset/dna/dna.py
+++ b/wk6/pset/dna/dna.py
@@ -18,7 +18,11 @@ def main():
return
# TODO: Read database file into a variable
-
+ rows = []
+ with open("foo.csv") as file:
+ reader = csv.DictReader(file)
+ for row in reader:
+ rows.append(row)
# TODO: Read DNA sequence file into a variable