Skip to content

Run on lambda - #93

Merged
alimanfoo merged 2 commits into
zarr-developers:masterfrom
tomwhite:lambda-init
Nov 6, 2018
Merged

alimanfoo merged 2 commits into
zarr-developers:masterfrom
tomwhite:lambda-init

Conversation

@tomwhite

@tomwhite tomwhite commented Nov 6, 2018

Copy link
Copy Markdown
Member

This is an addition to #83, which I needed to run on AWS lambda.

@alimanfoo

Copy link
Copy Markdown
Member

Apologies @tomwhite, you did mention this, I forgot. Thanks for submitting.

@alimanfoo
alimanfoo merged commit d23853b into zarr-developers:master Nov 6, 2018
@alimanfoo alimanfoo added this to the 0.6.0 milestone Nov 6, 2018
@tomwhite

tomwhite commented Nov 6, 2018

Copy link
Copy Markdown
Member Author

Thanks @alimanfoo.

@alimanfoo alimanfoo mentioned this pull request Nov 6, 2018
8 tasks
Comment thread numcodecs/__init__.py
try:
ncores = multiprocessing.cpu_count()
except OSError:
ncores = 1

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.

Adding for reference: We need a # pragma: no cover for this block below since we don't have a way to test it really. PR ( #96 ) addresses that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ah, didn't know about that. Thanks for reporting and fixing it @jakirkham!

@tomwhite
tomwhite deleted the lambda-init branch November 7, 2018 09: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