Skip to content

Commit

Permalink
Update seqs4tre.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa authored Apr 16, 2024
1 parent 168db37 commit 2928ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/exemplars_test/seqs4tre.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def tiplabels(treefile):

def printseqs(pids, dbfile):
connection = sqlite3.connect(dbfile)
query = 'SELECT nucraw FROM barcode WHERE processid = ?'
query = 'SELECT nuc FROM barcode WHERE processid = ?'
for pid in pids:
seq = connection.execute(query, (pid,)).fetchone()[0]
seq = str(seq).replace('-', '')
Expand Down

0 comments on commit 2928ae7

Please sign in to comment.