From e79e76d8405cdd1c31e1b710a949415327ef1593 Mon Sep 17 00:00:00 2001 From: Cameron Hargreaves Date: Tue, 7 Nov 2023 13:58:30 +0100 Subject: [PATCH 1/2] Removed deprecated monty.os.path.which dependency --- pseudo_dojo/core/pseudos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_dojo/core/pseudos.py b/pseudo_dojo/core/pseudos.py index 4071c3f4..9bf5ceeb 100644 --- a/pseudo_dojo/core/pseudos.py +++ b/pseudo_dojo/core/pseudos.py @@ -10,7 +10,7 @@ from monty.string import list_strings from monty.fnmatch import WildCard from monty.termcolor import cprint -from monty.os.path import which +from shutil import which from pymatgen.core.periodic_table import Element from pymatgen.core.xcfunc import XcFunc from abipy.tools.plotting import add_fig_kwargs, get_ax_fig_plt From 6e7d8a79aa7503dfdf05662cac1477ec2539b7e4 Mon Sep 17 00:00:00 2001 From: Cameron Hargreaves Date: Tue, 7 Nov 2023 13:58:53 +0100 Subject: [PATCH 2/2] Removed deprecated monty.os.path.which dependency --- pseudo_dojo/core/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pseudo_dojo/core/testing.py b/pseudo_dojo/core/testing.py index ae6b309f..de44ec7b 100644 --- a/pseudo_dojo/core/testing.py +++ b/pseudo_dojo/core/testing.py @@ -6,7 +6,7 @@ This single module should provide all the common functionality for tests in a single location, so that test scripts can just import it and work right away. """ -from monty.os.path import which +from shutil import which from pymatgen.util.testing import PymatgenTest import numpy.testing as nptu