Skip to content

Commit

Permalink
addressing @ElDeveloper comment
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed May 4, 2017
1 parent 7e3ed1e commit 27c3848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qiita_pet/handlers/api_proxy/studies.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def study_get_req(study_id, user_id):

study_info['show_biom_download_button'] = 'BIOM' in [
a.artifact_type for a in study.artifacts()]
study_info['show_raw_download_button'] = bool([
study_info['show_raw_download_button'] = any([
True for pt in study.prep_templates() if pt.artifact is not None])

return {'status': 'success',
Expand Down

0 comments on commit 27c3848

Please sign in to comment.