diff --git a/.github/workflows/liniting.yml b/.github/workflows/linting.yml similarity index 100% rename from .github/workflows/liniting.yml rename to .github/workflows/linting.yml diff --git a/.gitignore b/.gitignore index 4ed7056..8bff5e8 100644 --- a/.gitignore +++ b/.gitignore @@ -95,10 +95,8 @@ imas/_version.py # IMAS DD data-dictionary -access-layer containers/arch/imas/ containers/arch/data-dictionary/ -containers/arch/access-layer/ imas/assets/IDSDef.zip # IDS files diff --git a/benchmarks/technical.py b/benchmarks/technical.py index e16b50a..1bbf3a4 100644 --- a/benchmarks/technical.py +++ b/benchmarks/technical.py @@ -1,5 +1,4 @@ import imas -import imas def timeraw_create_default_imas_factory(): @@ -16,12 +15,6 @@ def timeraw_import_imas(): """ -def timeraw_import_imas(): - return """ - import imas - """ - - # It would be nice if we could track these, but unfortunately it breaks things like # `asv compare` :( """ diff --git a/benchmarks/utils.py b/benchmarks/utils.py index 27a7e26..0d2a995 100644 --- a/benchmarks/utils.py +++ b/benchmarks/utils.py @@ -6,10 +6,6 @@ import imas import imas.exception -# Don't directly import imas: code analyzers break on the huge code base -imas = importlib.import_module("imas") - - # Backend constants HDF5 = "HDF5" MDSPLUS = "MDSplus" @@ -60,13 +56,11 @@ def backend_exists(backend): backend for backend in available_backends if backend not in [ASCII, NETCDF] ] -hlis = ["imas", "imas"] +hlis = ["imas"] DBEntry = { "imas": imas.DBEntry, - "imas": imas.DBEntry, } factory = { - "imas": imas, "imas": imas.IDSFactory(), } available_serializers = [imas.ids_defs.ASCII_SERIALIZER_PROTOCOL] @@ -74,9 +68,6 @@ def backend_exists(backend): def create_dbentry(hli, backend): if backend == NETCDF: - if hli == "imas": - # Raising NotImplementedError will skip the benchmarks for this combination - raise NotImplementedError("AL-Python HLI doesn't implement netCDF.") if hli == "imas": # check if netcdf backend is available try: assert (