Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Force sphinx-gallery to re-execute when json file changes #16

Open
ianhi opened this issue Jul 18, 2022 · 0 comments
Open

Force sphinx-gallery to re-execute when json file changes #16

ianhi opened this issue Jul 18, 2022 · 0 comments

Comments

@ianhi
Copy link
Collaborator

ianhi commented Jul 18, 2022

You can pretty easily end up re-executing none of the files

Sphinx-Gallery successfully executed 0 out of 0 files subselected by:

    gallery_conf["filename_pattern"] = '/.*.py'
    gallery_conf["ignore_pattern"]   = '/_.*'

after excluding 3 files that had previously been run (based on MD5).

because sphinx-gallery only calculates the hash of the python file, not also of the json file.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant