[Debichem-devel] Bug#1145147: custodian: FTBFS: FAILED tests/vasp/test_validators.py::TestVaspNpTMDValidator::test_check_and_correct - assert False
Drew Parsons
dparsons at debian.org
Wed Sep 16 21:44:04 BST 2026
Source: custodian
Followup-For: Bug #1145147
X-Debbugs-Cc: Maximiliano Curia <maxy at debian.org>
Control: tags -1 ftbfs moreinfo
Maximiliano Curia wrote:
> To solve this issue, I created a patch to normalize the file path to
> an absolute path when caching VASP outputs. This patch should likely be
> sent upstream as well.
Thanks for the patch, Maximiliano.
I have a question though: what is the point of creating the separate
functions _load_vasprun and _load_outcar ?
As far as I can see your idea would work just adding the abspath()
wrapping directly within the existing
return Vasprun(filepath, **vasprun_kwargs)
i.e.
return Vasprun(os.path.abspath(filepath), **vasprun_kwargs)
What's the reason for separating the fix out into the extra functions?
Drew
More information about the Debichem-devel
mailing list