Before you submit this PR: make sure to put all XENONnT specific information in a wiki-note as the repo is publicly accessible
What does the code in this PR do / what does it improve?
Before this PR, when running
make html
in folder fuse/docs, error shows:
Exception occurred:
File "/opt/miniconda3/envs/XENONnT_2024.03.1/lib/python3.9/shutil.py", line 722, in rmtree
orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/xudc/fuse/docs/source/graphs'
this is because the "graphs" folder is not defined correctly in shutil.rmtree
Can you briefly describe how it works?
Define a unified path of graphs.
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable:
[ ] Update the docstring(s)
[ ] Bump plugin version(s)
[ ] Update the documentation
[ ] Tests to check the (new) code is working as desired.
Before you submit this PR: make sure to put all XENONnT specific information in a wiki-note as the repo is publicly accessible
What does the code in this PR do / what does it improve?
Before this PR, when running
in folder
fuse/docs
, error shows:this is because the
"graphs"
folder is not defined correctly inshutil.rmtree
Can you briefly describe how it works?
Define a unified path of graphs.
Can you give a minimal working example (or illustrate with a figure)?
Please include the following if applicable: