FourCIPP 1.40.0__tar.gz → 1.41.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fourcipp-1.40.0/src/FourCIPP.egg-info → fourcipp-1.41.0}/PKG-INFO +1 -1
- {fourcipp-1.40.0 → fourcipp-1.41.0/src/FourCIPP.egg-info}/PKG-INFO +1 -1
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/version.py +3 -3
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/test_fourc_input.py +5 -5
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.coveragerc +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.github/workflows/check_code.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.github/workflows/publish_pypi.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.github/workflows/run_testsuite.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.github/workflows/tag_version.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.github/workflows/update_4C_metadata_schema_file.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.gitignore +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/.pre-commit-config.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/LICENSE +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/README.md +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/docs/assets/fourcipp_logo_black.svg +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/docs/assets/fourcipp_logo_white.svg +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/pyproject.toml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/requirements.in +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/requirements.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/setup.cfg +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/FourCIPP.egg-info/SOURCES.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/FourCIPP.egg-info/dependency_links.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/FourCIPP.egg-info/entry_points.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/FourCIPP.egg-info/requires.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/FourCIPP.egg-info/top_level.txt +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/config/4C_metadata.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/config/4C_schema.json +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/config/config.yaml +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/fourc_input.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/element.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/inline_dat.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/node.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/node_topology.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/legacy_io/particle.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/cli.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/configuration.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/converter.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/dict_utils.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/metadata.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/not_set.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/type_hinting.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/validation.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/src/fourcipp/utils/yaml_io.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/conftest.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_element.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_inline_dat.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_legacy_io.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_node.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_node_topology.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/test_particle.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/legacy_io/utils.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/test_readme_quickstart_example.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/__init__.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_configuration.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_converter.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_dict_utils.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_metadata.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_not_set.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_validation.py +0 -0
- {fourcipp-1.40.0 → fourcipp-1.41.0}/tests/fourcipp/utils/test_yaml_io.py +0 -0
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.
|
|
32
|
-
__version_tuple__ = version_tuple = (1,
|
|
31
|
+
__version__ = version = '1.41.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 41, 0)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'g6a3d61590'
|
|
@@ -448,15 +448,15 @@ def test_roundtrip_test(fourc_file, tmp_path):
|
|
|
448
448
|
# Load 4C input test file
|
|
449
449
|
fourc_input = FourCInput.from_4C_yaml(fourc_file)
|
|
450
450
|
|
|
451
|
-
#
|
|
452
|
-
fourc_file.
|
|
451
|
+
# Create new file to keep original file (necessary for parallel test execution)
|
|
452
|
+
fourcipp_file = fourc_file.parent / (fourc_file.stem + "_fourcipp.4C.yaml")
|
|
453
453
|
|
|
454
454
|
# Dump out again
|
|
455
|
-
fourc_input.dump(
|
|
455
|
+
fourc_input.dump(fourcipp_file, validate=True)
|
|
456
456
|
|
|
457
457
|
# Command
|
|
458
458
|
command = (
|
|
459
|
-
f"/home/user/4C/build/4C {
|
|
459
|
+
f"/home/user/4C/build/4C {fourcipp_file} xxx > {tmp_path / 'output.log'} 2>&1"
|
|
460
460
|
)
|
|
461
461
|
|
|
462
462
|
# Run 4C with the dumped input
|
|
@@ -465,7 +465,7 @@ def test_roundtrip_test(fourc_file, tmp_path):
|
|
|
465
465
|
# Exit code -> 4C failed
|
|
466
466
|
if return_code:
|
|
467
467
|
raise SubprocessError(
|
|
468
|
-
f"Input file failed for {
|
|
468
|
+
f"Input file failed for {fourcipp_file}.\n\n4C command: {command}\n\nOutput: {(tmp_path / 'output.log').read_text()}"
|
|
469
469
|
)
|
|
470
470
|
|
|
471
471
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|