Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
b035dd95
Commit
b035dd95
authored
Jul 08, 2016
by
HERBERT Ryan
Browse files
file.py fix undefined patient_sample_set_id
parent
2a954227
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/file.py
View file @
b035dd95
...
...
@@ -160,9 +160,10 @@ def add_form():
id_sample_set_membership_patient
=
db
.
sample_set_membership
.
insert
(
sample_set_id
=
patient_sample_set_id
,
sequence_file_id
=
id
)
originating_id
=
patient_sample_set_id
if
request
.
vars
[
'sample_type'
]
==
'run'
:
originating_id
=
run_sample_set_id
else
:
originating_id
=
patient_sample_set_id
redirect_args
=
{
"id"
:
originating_id
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment