cubitpy 0.2.3__tar.gz → 0.2.4__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.
- {cubitpy-0.2.3/src/cubitpy.egg-info → cubitpy-0.2.4}/PKG-INFO +1 -1
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/conf.py +5 -13
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/version.py +3 -3
- {cubitpy-0.2.3 → cubitpy-0.2.4/src/cubitpy.egg-info}/PKG-INFO +1 -1
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/scm_version.json +2 -2
- {cubitpy-0.2.3 → cubitpy-0.2.4}/.coveragerc +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/.github/workflows/code_checks.yml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/.github/workflows/cubitpy_test_suite_with_secrets.yml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/.gitignore +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/.pre-commit-config.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/CONTRIBUTORS +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/LICENSE +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/README.md +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/pyproject.toml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/setup.cfg +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/__init__.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_group.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_to_fourc_input.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_utility.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/__init__.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_client.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_file_transfer.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_host.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_utility.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubitpy.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubitpy_types.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/exodus_utility.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/geometry_creation_functions.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/mesh_creation_functions.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/SOURCES.txt +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/dependency_links.txt +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/requires.txt +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/scm_file_list.json +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/top_level.txt +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/tutorial/__init__.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/src/tutorial/tutorial.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/coverage.config +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/external-geometry/fluent_aneurysm.msh +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_block_function.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_beam_to_surface.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_curve_to_curve.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_surface_to_surface.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict_exo.exo +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_brick_by_corner_points.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_wedge6.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_cubit_tutorial_coreform.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_cubit_tutorial_cubit15.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_dump_numpy_array.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_hex.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_yplane.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_zplane.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_coreform.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_cubit15.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_with_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_with_exo.exo +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_without_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function_average_normals_block.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function_average_normals_for_cylinder_and_sphere.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_coreform.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_cubit15.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fsi_functionality.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_group_of_surfaces.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_groups.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_groups_multiple_sets.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_mesh_import.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_set_geometry_type.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_with_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_with_exo.exo +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_without_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_point_coupling.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_reset_block_1.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_reset_block_2.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_scatra_functionality.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_serialize_nested_lists.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_thermo_functionality.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_with_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_with_exo.exo +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_without_exo.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_yaml_with_exo_export_fsi.4C.yaml +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_yaml_with_exo_export_fsi.exo +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/run_delete_test.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_configurations.sh +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_cubitpy.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_cubitpy_performance.py +0 -0
- {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_tutorial.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cubitpy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: CubitPy: Utility functions and 4C related functionality for the Cubit and Coreform python interface
|
|
5
5
|
Author-email: Ivo Steinbrecher <ivo.steinbrecher@unibw.de>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -303,26 +303,18 @@ class CubitOptions(object):
|
|
|
303
303
|
|
|
304
304
|
if cubit_platform == "linux" or cubit_platform == "macos":
|
|
305
305
|
if self.is_coreform():
|
|
306
|
+
python_prefix = "python3."
|
|
306
307
|
python_files = [
|
|
307
308
|
path
|
|
308
|
-
for path in cubit_path.rglob("
|
|
309
|
+
for path in cubit_path.rglob(f"{python_prefix}*")
|
|
309
310
|
if path.is_file()
|
|
310
|
-
and (
|
|
311
|
-
path.name == "python3"
|
|
312
|
-
or (
|
|
313
|
-
path.name.startswith("python3.")
|
|
314
|
-
and path.name.removeprefix("python3.")
|
|
315
|
-
.replace(".", "")
|
|
316
|
-
.isdigit()
|
|
317
|
-
)
|
|
318
|
-
)
|
|
311
|
+
and path.name.removeprefix(python_prefix).isdigit()
|
|
319
312
|
]
|
|
320
313
|
if len(python_files) != 1:
|
|
321
314
|
raise ValueError(
|
|
322
315
|
"Could not uniquely determine the path to the Cubit Python "
|
|
323
|
-
f"interpreter. Expected exactly one 'python3'
|
|
324
|
-
f"
|
|
325
|
-
f"{len(python_files)}: {python_files}"
|
|
316
|
+
f"interpreter. Expected exactly one 'python3.x' executable "
|
|
317
|
+
f"under '{cubit_path}', but found {len(python_files)}: {python_files}"
|
|
326
318
|
)
|
|
327
319
|
return str(python_files[0])
|
|
328
320
|
else:
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 2,
|
|
21
|
+
__version__ = version = '0.2.4'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 2, 4)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g6fa66acbd'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cubitpy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: CubitPy: Utility functions and 4C related functionality for the Cubit and Coreform python interface
|
|
5
5
|
Author-email: Ivo Steinbrecher <ivo.steinbrecher@unibw.de>
|
|
6
6
|
License-Expression: MIT
|
|
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
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_beam_to_surface.4C.yaml
RENAMED
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_curve_to_curve.4C.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_brick_by_corner_points.4C.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_yplane.4C.yaml
RENAMED
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_zplane.4C.yaml
RENAMED
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_coreform.4C.yaml
RENAMED
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_cubit15.4C.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_coreform.4C.yaml
RENAMED
|
File without changes
|
{cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_cubit15.4C.yaml
RENAMED
|
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
|