Skip to content

Commit

Permalink
Rename JSON result attribute to file
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Mar 14, 2024
1 parent 836191f commit e54b78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/pdbdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def sequences(project_id):
conn = await get_db_connection()
cur = conn.cursor(cursor_factory=RealDictCursor)

sql = """SELECT dbseq.id, u.identification_file_name, dbseq.sequence, dbseq.accession
sql = """SELECT dbseq.id, u.identification_file_name as file, dbseq.sequence, dbseq.accession
FROM upload AS u
JOIN dbsequence AS dbseq ON u.id = dbseq.upload_id
INNER JOIN peptideevidence pe ON dbseq.id = pe.dbsequence_ref AND dbseq.upload_id = pe.upload_id
Expand Down

0 comments on commit e54b78b

Please sign in to comment.