-
Notifications
You must be signed in to change notification settings - Fork 59
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
Clean up extra files created by running docs + tests #226
Comments
Agree we should clean those files up in a |
If |
Only issue is that the |
It still checks the codepath by which the figure is produced runs without error, increasing test coverage, but I don't have a strong feeling about this so will defer to @pgrigorev |
Hello, thank you very much for cleaning up the module and the test. I think |
Thanks @pgrigorev for the input. I have the same feeling about the BCC-specific code - I know the BCC quadrupoles are better with the earlier functions than with my more general In terms of |
Hi @thomas-rocke. For sure would love to have a chat about that. Also about Vitek maps since I wanted to do something similar to what you did with stacking faults: visualisation function as class method that has all the system specific parameters under the hood. I will be very busy in coming couple of weeks, but after that for sure will have time for that. I think commenting out the part that saves the png is a good solution. I am happy with it. Thank you! |
test_dislocation.py
produces add_test.png
, and some docs notebooks save a few files when docs are built - all of which appear ongit status
. We should either try to clean them up after docs are built, or add them to the gitignore.@jameskermode @pgrigorev do we think the
test_differential_displacement
still has much value? It only serves to generate thedd_test.png
image, and it's using the BCC-specificmake_screw_cyl
method to do so, rather than theCubicCrystalDislocation
solution.As for the files created by the docs, a good solution might be to have a
teardown.py
file to do the cleanup, which could be called bymake html
etc after Sphinx docs have been built? I think it would also be better practice to save such files to atmp/
directory which could be gitignored, but this is less important.The text was updated successfully, but these errors were encountered: