Closed kitchoi closed 8 years ago
Not yet done with cleaning the doc for this yet. Want to know what you guys think.
:+1: for me.
@itziakos, what do you think? if this is good I will go on to clean the related documentation before removing the WIP tag.
Yes, please move forward with the changes
What's the status of this now?
@stefanoborini I believe this only needs updating the documentation.
Should I get rid of the examples, or convert them to a different strategy? (it's unclear to me how to do non-gui, considering that now you seem to need a panel to achieve animations, as far as I understand from the tests)
@stefanoborini The batch scripting approach (already in the doc) with some modification using mlab.animate
should be enough to achieve animation. In my opinion, it is fine to just get rid of the current example and rely on mayavi's doc. Providing an example using mlab.animate
would be being-kind-to-new-users :)
@@ master #173 diff @@
==========================================
Files 47 45 -2
Lines 2193 2164 -29
Methods 0 0
Messages 0 0
Branches 320 319 -1
==========================================
- Hits 2013 1983 -30
Misses 145 145
- Partials 35 36 +1
Powered by Codecov. Last update 059493c...af57712
@kitchoi please review. There is apparently a change in behavior with most up-to-date packages, so I had to fix the versions.
Thanks @stefanoborini
Is it possible to skip a particular version of a particular package (e.g. flake8 != 3.0.0
) instead of fixing the versions for all packages?
Question is: is it good practice to leave the version unspecified? I understood it wasn't from previous experiences.
There has been a similar discussion on https://github.com/simphony/simphony-framework/issues/15 My own preference is to skip known-problematic versions, this makes dependency resolution a lot easier.
The test failure is due to this commit in mayavi
f3fd83b57137b3ac09309ffbb4d3c529352265b2 is the first bad commit
commit f3fd83b57137b3ac09309ffbb4d3c529352265b2
Author: Prabhu Ramachandran <prabhu@aero.iitb.ac.in>
Date: Sun Jul 3 00:38:06 2016 -0400
Support recording movie with animate decorator.
If one has a scene with the movie_maker.record set to True, a movie will
be recorded when the animation is run.
:040000 040000 1755a2f37a626855627403309e850f13527ecb2d ca0ac36cda6e985e61f581e4fce01c6add49197b M mayavi
:040000 040000 7a9b3c7c6367ddce6dd3bc01b8bd7e8dac88d655 92b0c79f5cac9591530d59f0f6838b7a7addbfcd M tvtk
@kitchoi any comment on this?
After discussion with @itziakos we agreed to do the following for the current red:
Originally
EngineManagerStandalone
was meant to replicate the functions of theEngineManagerStandaloneGUI
orEngineManagerMayavi2
without the use of a GUI. However, since changes in the__init__
of CUDSSource, EngineSource made creating a Source more user-friendly plus the fact that theEngineManager*
has not grown as big as was anticipated, there is little gain now to keepEngineManagerStandalone
around. Therefore proposing getting rid of it.Also, "fix" 1/3 of the issue in #172 (by removing the problem....hmm)
@itziakos, @stefanoborini