Commit c0257c59 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

Merge branch 'feature-s/2855_fix_duplicate_file_check' into 'dev'

file.py fix duplicate file check

Closes #2855

See merge request !128
parents f877450e 380ead13
Pipeline #11669 passed with stages
in 19 seconds
...@@ -155,7 +155,7 @@ def add_form(): ...@@ -155,7 +155,7 @@ def add_form():
error += " missing permission for %s %d" % (key, set_id) error += " missing permission for %s %d" % (key, set_id)
query = db((db[key].id == set_id) query = db((db[key].id == set_id)
&(db.sample_set_membership.sample_set_id == db.patient.sample_set_id) &(db.sample_set_membership.sample_set_id == db[key].sample_set_id)
&(db.sequence_file.id == db.sample_set_membership.sequence_file_id) &(db.sequence_file.id == db.sample_set_membership.sequence_file_id)
).select(db.sequence_file.ALL) ).select(db.sequence_file.ALL)
for row in query : for row in query :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment