fix #397 needed to store continent value#398
Conversation
| class TestVCSTextsExtents(basevcstest.VCSBaseTest): | ||
| def testUpdateDoesNotTriggerContinents(self): | ||
| s = self.clt["clt"][0] | ||
| self.x.plot(s, continents=0) |
There was a problem hiding this comment.
Interesting, I guess while I knew you could disable the continents somehow, I never knew this is how you did it.
| dn.array = arglist[:2] | ||
| dn.backend = returned_kargs | ||
| if "continents" in keyargs: | ||
| dn._continents = keyargs["continents"] |
There was a problem hiding this comment.
After browsing the source code, I'm not seeing how this value stored on the display is ever queried to avoid plotting the continents. To me it looks like the decision is made inside our vcs2vtk.genGrid(...) function, based solely on the type of data we get. But I guess it's working, so it's fine with me.
There was a problem hiding this comment.
you're right, it's sort of obscure but i think it's there: https://github.com/CDAT/vcs/blob/master/vcs/VTKPlots.py#L491
There was a problem hiding this comment.
Ah, you referred to it with an underscore in your fix, so I was searching for it that way, forgetting about how you typically make "properties" out of those attributes. Thanks.
|
@scottwittenburg failures are in doc build/sphinx I think i'ts safe to merge from that point of view, doesn't seem related to this PR |
|
I was just searching through the CI output for "error", there were 86 occurrences, making it hard to tell what's going on. Some were image comparison size mismatches: But there are a bunch of those in the passing py2 check, but what the heck? Why don't those cause test failures? Whatever. Then there are a bunch similar to this: And again, many of the same in the py2 case. I have no idea what that's about. In both cases (check passed vs check failed), there are also some errors I've seen before coming from VTK when we do projection and an input point is outside the range it can handle: From what I can tell, though, it seems you're right that the only kind of error we see in the failing case which we don't also see in the passing case, is this one: Has that been happening with other PRs recently? |
No description provided.