Skip to content

Commit

Permalink
Explicitly declare insert columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mellypop committed Nov 1, 2024
1 parent 19027ec commit 74dc68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scripts/add_bam_pair_xenocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def add_bam_pair_stp(raptr, sample, target, project, subproject, **kwargs):
bam_tpl_id_xenocp = raptr.fetch_item_or_fail(query, (stp_id,))

# Associate loadables with new bam_tpl.
query = """insert into bam_tpl_read_group values (%s, %s)"""
query = """insert into bam_tpl_read_group(bam_tpl_id, read_group_id) values (%s, %s)"""
for rgid in rg_ids:
raptr.execute(query, (bam_tpl_id_xenocp, rgid))

Expand Down

0 comments on commit 74dc68b

Please sign in to comment.