Skip to content

Conversation

@antgonza
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Sep 14, 2017

Codecov Report

Merging #2287 into dev will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev    #2287      +/-   ##
==========================================
+ Coverage   93.81%   93.84%   +0.02%     
==========================================
  Files         163      163              
  Lines       18427    18494      +67     
==========================================
+ Hits        17288    17356      +68     
+ Misses       1139     1138       -1
Impacted Files Coverage Δ
qiita_pet/webserver.py 100% <ø> (ø) ⬆️
qiita_pet/test/test_download.py 96.21% <100%> (+0.92%) ⬆️
...s/analysis_handlers/tests/test_sharing_handlers.py 97.43% <100%> (+0.76%) ⬆️
qiita_pet/handlers/download.py 93.71% <100%> (+2.3%) ⬆️
...pet/handlers/analysis_handlers/sharing_handlers.py 100% <100%> (ø) ⬆️
...lers/artifact_handlers/tests/test_base_handlers.py 95.34% <0%> (ø) ⬆️
...ta_pet/handlers/artifact_handlers/base_handlers.py 93.33% <0%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e1c1b5...b482b4e. Read the comment docs.

@antgonza
Copy link
Member Author

by mistake I added the fixes for #2251 also here. I think this PR has an OK size so I'm gonna leave as this.

BTW the study page looks like this:
study
and the prep:
prep

Copy link
Contributor

@josenavas josenavas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment

self.set_header('Expires', '0')
self.set_header('Cache-Control', 'no-cache')
self.set_header('Content-Disposition', 'attachment; '
'filename=ebi_sample_accessions_study_%s.tsv' % sid)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change the name of the file here so it's not the same as above? I would say something along the lines of ebi_experiment_accessions_study_%s_prep_%s.tsv

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, I forgot to change that!

Copy link
Contributor

@ElDeveloper ElDeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment.

'attachment; filename=%s' % zip_fn)
self.finish()


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two handlers are doing pretty much the same, can this be factored in to a base class or in a helper function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants