From fe2152ab40e62b2a2b3810890c059ed9875e7240 Mon Sep 17 00:00:00 2001 From: Niklas Siemer <70580458+niklassiemer@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:37:25 +0200 Subject: [PATCH] Rename _data to data --- pyiron_atomistics/atomistics/structure/periodic_table.py | 2 +- pyiron_atomistics/{_data => data}/periodic_table.csv | 0 setup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename pyiron_atomistics/{_data => data}/periodic_table.csv (100%) diff --git a/pyiron_atomistics/atomistics/structure/periodic_table.py b/pyiron_atomistics/atomistics/structure/periodic_table.py index 84690c589..7c2529e23 100644 --- a/pyiron_atomistics/atomistics/structure/periodic_table.py +++ b/pyiron_atomistics/atomistics/structure/periodic_table.py @@ -398,7 +398,7 @@ def _get_periodic_table_df(file_name): if not file_name: return pandas.read_csv( io.BytesIO( - pkgutil.get_data("pyiron_atomistics", "_data/periodic_table.csv") + pkgutil.get_data("pyiron_atomistics", "data/periodic_table.csv") ), index_col=0, ) diff --git a/pyiron_atomistics/_data/periodic_table.csv b/pyiron_atomistics/data/periodic_table.csv similarity index 100% rename from pyiron_atomistics/_data/periodic_table.csv rename to pyiron_atomistics/data/periodic_table.csv diff --git a/setup.py b/setup.py index 9143af0e4..e730f775e 100644 --- a/setup.py +++ b/setup.py @@ -61,5 +61,5 @@ 'structuretoolkit==0.0.11' ], cmdclass=versioneer.get_cmdclass(), - package_data={'': ['_data/*.csv']}, + package_data={'': ['data/*.csv']}, )