Skip to content

Conversation

boazmohar
Copy link
Contributor

Trying to run
data = td.images.fromexample(name='mouse',engine=None)
fails due to a change from #313 as the accessor function expects 3 params.
This PR fixes that, still don't know if related to #327
There are no tests for the BotoParallelReader, seems very hard to mock AWS.
@freeman-lab Is there another way?

@boazmohar boazmohar mentioned this pull request Jun 7, 2016
key = bucket.get_key(keyName)
buf = key.get_contents_as_string()
yield idx, buf
yield idx, buf, keyName
Copy link
Member

Choose a reason for hiding this comment

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

make lowercase keyname

@freeman-lab
Copy link
Member

Looks good @boazmohar ! Just a style nit. Thanks for catching this. I think #327 was a different error though.

@boazmohar
Copy link
Contributor Author

Sure thing @freeman-lab I prefer finding the bugs I made first :)

@freeman-lab freeman-lab merged commit 86a7021 into thunder-project:master Jun 7, 2016
@boazmohar boazmohar deleted the BotoParallelReaderBug branch June 7, 2016 03:29
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.

2 participants