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: Fix peaks_slicer
actor properties not being enforced.
#43
BUG: Fix peaks_slicer
actor properties not being enforced.
#43
Conversation
Same as with #44, Travis errors come from the |
Nibabel team plans to fix this and @dmreagan will review your PR tomorrow so let's wait until Thursday for this PR. |
The actor created in `peak_slicer` was not having its properties enforced because the `PeakSlicerActor` instance was not explicitly setting its `vtk::Property` properties. These properties were being set in the actor of the `self.line` object, but needed to be set for the `PeakSlicerActor` class itself. Fixes fury-gl#22.
b0f5ca9
to
cd005b1
Compare
Codecov Report
@@ Coverage Diff @@
## master #43 +/- ##
==========================================
+ Coverage 81.05% 81.07% +0.01%
==========================================
Files 13 13
Lines 3062 3065 +3
Branches 349 349
==========================================
+ Hits 2482 2485 +3
Misses 476 476
Partials 104 104
|
@dmreagan May be I should have also modified the test and add some opacity values to less than 1.0 to actually proof that the patch is working? |
More tests, or more explicit tests, are usually a good idea. If you have time, go for it. But since this PR fixes an existing feature rather than adding something new, I'm not going to be strict about it. |
The actor created in
peak_slicer
was not having its propertiesenforced because the
PeakSlicerActor
instance was not explicitlysetting its
vtk::Property
properties. These properties were being setin the actor of the
self.line
object, but needed to be set for thePeakSlicerActor
class itself.Fixes #22.