fmu-manipulation-toolbox 1.8.2rc2__py3-none-any.whl → 1.8.2.1__py3-none-any.whl
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.
- fmu_manipulation_toolbox/__version__.py +1 -1
- fmu_manipulation_toolbox/fmu_container.py +11 -5
- fmu_manipulation_toolbox/resources/win32/client_sm.dll +0 -0
- fmu_manipulation_toolbox/resources/win32/server_sm.exe +0 -0
- fmu_manipulation_toolbox/resources/win64/client_sm.dll +0 -0
- fmu_manipulation_toolbox/resources/win64/container.dll +0 -0
- fmu_manipulation_toolbox/resources/win64/server_sm.exe +0 -0
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/METADATA +1 -1
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/RECORD +13 -13
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/WHEEL +1 -1
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/LICENSE.txt +0 -0
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/entry_points.txt +0 -0
- {fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
'V1.8.2
|
|
1
|
+
'V1.8.2.1'
|
|
@@ -316,7 +316,7 @@ class FMUContainer:
|
|
|
316
316
|
cport = ContainerPort(fmu, port_name)
|
|
317
317
|
if cport not in self.rules:
|
|
318
318
|
if cport.port.causality == 'parameter' and auto_parameter:
|
|
319
|
-
parameter_name = cport.fmu.
|
|
319
|
+
parameter_name = cport.fmu.id + "." + cport.port.name
|
|
320
320
|
logger.info(f"AUTO PARAMETER: {cport} as {parameter_name}")
|
|
321
321
|
self.inputs[parameter_name] = cport
|
|
322
322
|
self.mark_ruled(cport, 'PARAMETER')
|
|
@@ -668,11 +668,17 @@ class FMUContainer:
|
|
|
668
668
|
|
|
669
669
|
def make_fmu_package(self, base_directory: Path, fmu_filename: Path):
|
|
670
670
|
logger.debug(f"Zipping directory '{base_directory}' => '{fmu_filename}'")
|
|
671
|
+
zip_directory = self.long_path(str(base_directory.absolute()))
|
|
672
|
+
offset = len(zip_directory) + 1
|
|
671
673
|
with zipfile.ZipFile(self.fmu_directory / fmu_filename, "w", zipfile.ZIP_DEFLATED) as zip_file:
|
|
672
|
-
|
|
673
|
-
for
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
def add_file(directory: Path):
|
|
675
|
+
for entry in directory.iterdir():
|
|
676
|
+
if entry.is_dir():
|
|
677
|
+
add_file(directory / entry)
|
|
678
|
+
elif entry.is_file:
|
|
679
|
+
zip_file.write(str(entry), str(entry)[offset:])
|
|
680
|
+
|
|
681
|
+
add_file(Path(zip_directory))
|
|
676
682
|
logger.info(f"'{fmu_filename}' is available.")
|
|
677
683
|
|
|
678
684
|
def make_fmu_cleanup(self, base_directory: Path):
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
{fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: fmu_manipulation_toolbox
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.2.1
|
|
4
4
|
Summary: FMU Manipulation Toobox is a python application which help to modify a Functional Mock-up Units (FMUs) without recompilation or to group them into FMU Containers
|
|
5
5
|
Home-page: https://github.com/grouperenault/fmu_manipulation_toolbox/
|
|
6
6
|
Author: Nicolas.LAURENT@Renault.com
|
{fmu_manipulation_toolbox-1.8.2rc2.dist-info → fmu_manipulation_toolbox-1.8.2.1.dist-info}/RECORD
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
fmu_manipulation_toolbox/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
2
2
|
fmu_manipulation_toolbox/__main__.py,sha256=mAzrtkil506DS0F3g3CEbHdtZsZotzntcNhIn_lNJkw,344
|
|
3
|
-
fmu_manipulation_toolbox/__version__.py,sha256=
|
|
3
|
+
fmu_manipulation_toolbox/__version__.py,sha256=GazILHIx1XYNQq4ySMl55nRHfK0tPaZX08b7X_KtcQo,11
|
|
4
4
|
fmu_manipulation_toolbox/assembly.py,sha256=pAAE_eWPfD-8BzZ7gvaHARhQt4-IV2jVvsMnJXeAtLI,25541
|
|
5
5
|
fmu_manipulation_toolbox/checker.py,sha256=lE2MpH4BAKCDjUvbr06N56u7ao8hWXaJgMKaLvmhFTQ,2272
|
|
6
6
|
fmu_manipulation_toolbox/cli.py,sha256=2p5T1qp7kTcMlScwmvXyUfEmAIGSJsld96ObY216QMA,10616
|
|
7
|
-
fmu_manipulation_toolbox/fmu_container.py,sha256=
|
|
7
|
+
fmu_manipulation_toolbox/fmu_container.py,sha256=n_PBIpB_8vUKtEUKjXSDelreW_cu7HZrhP_nouyE80s,28927
|
|
8
8
|
fmu_manipulation_toolbox/fmu_operations.py,sha256=WE-lCNNOYr3pakMkwzpsp_lBhb2P4s7Ez5HnxQLbVdk,15814
|
|
9
9
|
fmu_manipulation_toolbox/gui.py,sha256=bGG4iPddGsT4tLBv1zjSpbIkyctHVfbRt0kGxdTTrTc,29219
|
|
10
10
|
fmu_manipulation_toolbox/gui_style.py,sha256=jjDhzSw5hu_6-bOOhsvI_MxQZOqt9SjpKK6T83Gubr4,2926
|
|
@@ -39,14 +39,14 @@ fmu_manipulation_toolbox/resources/linux32/server_sm,sha256=1TLGqNPyM5UVOrCfzNqW
|
|
|
39
39
|
fmu_manipulation_toolbox/resources/linux64/client_sm.so,sha256=EhY1XHo1YcQn6yqZ7wk5okqtZyp0MrcCsGcudqE-aIM,37000
|
|
40
40
|
fmu_manipulation_toolbox/resources/linux64/container.so,sha256=onX32320NM2_EJMtLflknpte9WaN7ZUSyezTOc0HCGY,45984
|
|
41
41
|
fmu_manipulation_toolbox/resources/linux64/server_sm,sha256=ulfoPvmaYe9nInYcVEyj7mD9zDzGk56OUoWx1mPKLiE,22768
|
|
42
|
-
fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=
|
|
43
|
-
fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=
|
|
44
|
-
fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=
|
|
45
|
-
fmu_manipulation_toolbox/resources/win64/container.dll,sha256=
|
|
46
|
-
fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=
|
|
47
|
-
fmu_manipulation_toolbox-1.8.
|
|
48
|
-
fmu_manipulation_toolbox-1.8.
|
|
49
|
-
fmu_manipulation_toolbox-1.8.
|
|
50
|
-
fmu_manipulation_toolbox-1.8.
|
|
51
|
-
fmu_manipulation_toolbox-1.8.
|
|
52
|
-
fmu_manipulation_toolbox-1.8.
|
|
42
|
+
fmu_manipulation_toolbox/resources/win32/client_sm.dll,sha256=fMZTAdz_IduXWez-SPu3dlZ9ZT9ut7iVGcBOFj5gjZA,17920
|
|
43
|
+
fmu_manipulation_toolbox/resources/win32/server_sm.exe,sha256=7tfBjDN4vJfula7EC-7B03v36R_SesGHTMtdLh3Mlas,15872
|
|
44
|
+
fmu_manipulation_toolbox/resources/win64/client_sm.dll,sha256=aIQ5BGTB5ocZ7j4_UD1jly_8Q4aH5ArXtLPijV-eSrI,22016
|
|
45
|
+
fmu_manipulation_toolbox/resources/win64/container.dll,sha256=auhUyYbXd1998Haj-mG6DLEZZFGw5hzZ9WXPvRv5-Fo,36864
|
|
46
|
+
fmu_manipulation_toolbox/resources/win64/server_sm.exe,sha256=w16NMPl1v286MajitRsYsKnnXklkmppB8-GWevixvU4,19456
|
|
47
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/LICENSE.txt,sha256=c_862mzyk6ownO3Gt6cVs0-53IXLi_-ZEQFNDVabESw,1285
|
|
48
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/METADATA,sha256=jmZgN3GmGIx0oYPwaJqpHAmTxM13nYnxIxldo9vgWGU,1065
|
|
49
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
50
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/entry_points.txt,sha256=jCPLMBdS-eOvmRfDv7n0wHZSbJHccHviW03mz5vwO-Q,124
|
|
51
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/top_level.txt,sha256=9D_h-5BMjSqf9z-XFkbJL_bMppR2XNYW3WNuPkXou0k,25
|
|
52
|
+
fmu_manipulation_toolbox-1.8.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|