Skip to content

Commit 42e3365

Browse files
committed
Name derived table
1 parent ed0d03a commit 42e3365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scripts/add_bam_pair_xenocp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def add_bam_pair_bam_id(raptr, bam_id, **kwargs):
164164
"""
165165
query = """select formal_name, target_name, project_name, subproject from sample_target_project_view inner join
166166
(select sample_target_project_id from bam_and_tpl where bam_id = %s and bam_status = 'Normal'
167-
and legacy = false)
167+
and legacy = false) bt
168168
using (sample_target_project_id);"""
169169
(sample, target, project, subproject) = raptr.fetch_row_or_fail(query, (bam_id,))
170170
add_bam_pair_stp(raptr, sample, target, project, subproject)

0 commit comments

Comments
 (0)