diff --git a/pyproject.toml b/pyproject.toml index 51d0d9d9..01ac054e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ build-backend = 'setuptools.build_meta' [project] name = "ratapi" -version = "1.0.0" +version = "1.0.1.dev0" description = "Python extension for the Reflectivity Analysis Toolbox (RAT)" readme = "README.md" requires-python = ">=3.10" @@ -16,7 +16,7 @@ dependencies = [ "matplotlib>=3.8.3", "numpy>=1.20", "prettytable>=3.9.0", - "pydantic>=2.7.2", + "pydantic>=2.7.2, <2.14", "scipy>=1.13.1, <=1.17.1", "strenum>=0.4.15 ; python_full_version < '3.11'", "tqdm>=4.66.5", diff --git a/ratapi/project.py b/ratapi/project.py index ddb7e9b9..c1ebe45b 100644 --- a/ratapi/project.py +++ b/ratapi/project.py @@ -961,9 +961,8 @@ def make_custom_file_dict(item): "filename": item.filename, "language": item.language, "path": str(item.path), + "function_name": item.function_name, } - if item.name != item.function_name: - file_dict["function_name"] = item.function_name return file_dict