Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added function list support for EA.add_output #580

Merged
merged 2 commits into from
Mar 2, 2015
Merged

Conversation

studywolf
Copy link
Collaborator

Allows a list of functions to be passed in to the ensemble_array
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.

@tbekolay tbekolay added this to the 2.0.1 release milestone Dec 9, 2014
@Seanny123 Seanny123 self-assigned this Dec 9, 2014
@Seanny123
Copy link
Contributor

Fixed some PEP8 errors, but the rest looks good to me.

@Seanny123 Seanny123 removed their assignment Dec 9, 2014
@tbekolay tbekolay modified the milestones: 2.0.1 release, 2.1.0 release Feb 4, 2015
@hunse
Copy link
Collaborator

hunse commented Feb 17, 2015

I reduced some of the code duplication between the if blocks. LGTM.

@tbekolay
Copy link
Member

tbekolay commented Mar 2, 2015

LGTM too. I made a few changes to the test (just cosmetic), wrote a changelog entry, and squashed the PEP8 fix (will keep @hunse's commit though); merging!

studywolf and others added 2 commits March 2, 2015 11:05
Allows a list of functions to be passed in to the EnsembleArray
add_output function, so that different functions can be calculated
off of the different ensembles.

Also added a test.

Addresses #562.

Thanks to Sean Aubin for fixing some PEP8 errors!
To reduce code duplication
@tbekolay tbekolay merged commit b48c68b into master Mar 2, 2015
@tbekolay tbekolay deleted the ensarrayfunctionlist branch March 2, 2015 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants