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
BUG #1944: Rename line to linetype for isoline, unified1d and vector. #2046
Conversation
@doutriaux1 @aashish24 Please review. This required more changes than I thought or wanted. Overall I think it is a much clearer API. |
Do: check |
Basic content checks failed!
|
Do: check |
@doutriaux1 @aashish24 ping! This also has been setting here for too long. |
Do: test |
@sankhesh @doutriaux1 This test |
That is odd indeed did you start with the 2.6 env ? |
@doutriaux1 This is done by buildbot. @sankhesh says that he deletes both the source and the build directory so I am not sure where 2.6 is picked up from. |
Do: test |
Do: test |
@@ -6,16 +6,22 @@ | |||
l.type = "dash" | |||
|
|||
v=vcs.createvector() | |||
v.line = "vcs_test_set_line" | |||
v.setLineAttributes("vcs_test_set_line") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danlipsa what does this function do at this point in the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aashish24 Sets linetype, linecolor and linewidth from the line with the name 'vcs_test_set_line'.
@aashish24 Done. |
except: | ||
pass | ||
|
||
line = property(_getline, _setline) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should break backward compatibility, we should probably keep it and raise a deprecated warning.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@doutriaux1 @aashish24 Makes sense. The line interface will still have the bug @chaosphere2112 reported. We won't do any fixes there. Maybe remove it in the next version.
These are the test failures on Linux: Total Test time (real) = 407.44 sec The following tests FAILED: |
@danlipsa no worries about the failed test, it's due to hdf5 not matching anymore by default under conda. But once I merge the legend PR you will likely need to re-update your baselines. |
actually I take it back, this PR does NOT touch the baselines. |
@doutriaux1 Indeed the failed vcs tests are because of hdf5 problem. |
@doutriaux1 @aashish24 Lets get this merged as well, unless you have additional comments/concerns. |
@danlipsa I would like to finish/merge fix_travis first if it doesn't take too long. |
Basic content checks failed!
Branch-at: b24b2c9 |
@doutriaux1 Do you worry about conflicts/broken tests? |
kind of the opposite, since it shouldn't break anything I would like to see a PR pass on travis ;) |
@doutriaux1 I guess my point was that even if you merge this your PR on travis can go on as before. You should not have any conflicts or any new failing tests. But I can wait if you want to take a closer look at this and you want to finish the travis work first without interruption. |
Basic content checks failed!
Branch-at: b24b2c9 |
Add separate function to set type, color and width from a line.
@aashish24 I was puzzled by it yesterday too. I looked into it. This pull request is older than the changes we made to the bot and I am assuming buildbot is getting confused with the different commands on it. I'll talk to Ben on Monday to see what's wrong exactly. |
@sankhesh It seems that some of the tests still do not activate the right environment: |
@danlipsa All the tests on default build are activating the right environment. The tests on the lean build just activate 2.6. I think that is a UV-CDAT issue that needs to be fixed in the code. |
@sankhesh How do you see the default build? I only see the lean build - I click on cdash |
Here is the default build: https://open.cdash.org/buildSummary.php?buildid=4495026 |
@sankhesh The test failures look like @doutriaux1 colorbar baselines. I will run the test on my machine to see if they pass. |
@sankhesh On my machine most tests pass - I have 26 failures - most vcs once are from hdf5. In the link you provided, it looks like @doutriaux1 changes are not in, possible because the code uses the wrong conda env? The SHA is correct. The baseline is right but the generated image is wrong. Can you look in the LastTest.log to see the conda env for the tests? |
Do: test |
Testing commands handed to buildbot. Branch-at: b635154 |
Add separate function to set type, color and width from a line.