Skip to content

Conversation

@cpelley
Copy link

@cpelley cpelley commented Sep 15, 2016

Issue is here.

def as_fields(cube, field_coords=None, target=None):
    ...
-    return (field for cube, field in as_pairs(cube, field_coords=field_coords,
                                               target=target))
+    return (field for cube, field in save_pairs_from_cube(cube,
          field_coords=field_coords, target=target))

This means that our users are currently being issued a warning about using deprecated behaviour when they are not (made worse by the fact that warnings do not give a traceback).

@cpelley cpelley changed the base branch from master to v1.10.x September 15, 2016 14:52
@cpelley
Copy link
Author

cpelley commented Sep 16, 2016

Tests pass, except the old issue of TimedOutException.

Cheers

@ajdawson ajdawson merged commit 95abb08 into SciTools:v1.10.x Sep 28, 2016
@ajdawson
Copy link
Member

Thanks @cpelley

@QuLogic QuLogic added this to the v1.10.x milestone Sep 28, 2016
@cpelley
Copy link
Author

cpelley commented Sep 29, 2016

Thanks @ajdawson

@cpelley cpelley deleted the AS_PAIRS_REMOVAL branch September 29, 2016 08:22
@QuLogic QuLogic modified the milestones: v1.10.x, v1.11 Oct 25, 2016
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