Skip to content

Use s3 multipart constants as defined in dcplib#150

Merged
mweiden merged 1 commit intomasterfrom
mweiden-issue149-dcplib-constants
Aug 2, 2018
Merged

Use s3 multipart constants as defined in dcplib#150
mweiden merged 1 commit intomasterfrom
mweiden-issue149-dcplib-constants

Conversation

@mweiden
Copy link
Copy Markdown
Contributor

@mweiden mweiden commented Aug 1, 2018

Fixes #149
Blocked by HumanCellAtlas/dcplib#2

return "application/octet-stream"


def _copy_from_s3(path, s3, tx_cfg):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

tx_cfg isn't used anywhere?

@mweiden mweiden force-pushed the mweiden-issue149-dcplib-constants branch from 3172483 to e2a95b8 Compare August 1, 2018 17:05
@mweiden mweiden force-pushed the mweiden-issue149-dcplib-constants branch from e2a95b8 to 2efb8ca Compare August 1, 2018 17:22
@mweiden
Copy link
Copy Markdown
Contributor Author

mweiden commented Aug 1, 2018

@ttung @sampierson will take this out of WIP when #150 is merged and dcplib-1.3.2 is published



def _copy_from_s3(path, s3, tx_cfg):
def _copy_from_s3(path, s3):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

kind of confused why this method has this name, but probably out of the scope of this diff.

@mweiden mweiden force-pushed the mweiden-issue149-dcplib-constants branch from 2efb8ca to 84f3a0e Compare August 2, 2018 22:18
@codecov-io
Copy link
Copy Markdown

codecov-io commented Aug 2, 2018

Codecov Report

Merging #150 into master will increase coverage by 1.83%.
The diff coverage is 90.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #150      +/-   ##
==========================================
+ Coverage   86.43%   88.27%   +1.83%     
==========================================
  Files          32       32              
  Lines        1202     1279      +77     
==========================================
+ Hits         1039     1129      +90     
+ Misses        163      150      -13
Impacted Files Coverage Δ
hca/upload/s3_agent.py 73.91% <100%> (+3%) ⬆️
hca/dss/upload_to_cloud.py 72.22% <87.5%> (+1.63%) ⬆️
hca/util/__init__.py 94.97% <0%> (+1.88%) ⬆️
hca/dss/__init__.py 88.67% <0%> (+5.03%) ⬆️

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 c68f119...84f3a0e. Read the comment docs.

@mweiden mweiden changed the title [WIP] Use s3 multipart constants as defined in dcplib Use s3 multipart constants as defined in dcplib Aug 2, 2018
@mweiden mweiden merged commit c6ef9a9 into master Aug 2, 2018
@mweiden mweiden deleted the mweiden-issue149-dcplib-constants branch August 2, 2018 22:37
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.

3 participants