Skip to content

Clean up extra files created by running docs + tests #226

@thomas-rocke

Description

@thomas-rocke

test_dislocation.py produces a dd_test.png, and some docs notebooks save a few files when docs are built - all of which appear on git 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 the dd_test.png image, and it's using the BCC-specific make_screw_cyl method to do so, rather than the CubicCrystalDislocation 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 by make html etc after Sphinx docs have been built? I think it would also be better practice to save such files to a tmp/ directory which could be gitignored, but this is less important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions