ras-commander 0.75.0__py3-none-any.whl → 0.76.0__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.
- ras_commander/RasPrj.py +6 -1
- ras_commander/__init__.py +1 -1
- {ras_commander-0.75.0.dist-info → ras_commander-0.76.0.dist-info}/METADATA +1 -1
- {ras_commander-0.75.0.dist-info → ras_commander-0.76.0.dist-info}/RECORD +7 -7
- {ras_commander-0.75.0.dist-info → ras_commander-0.76.0.dist-info}/WHEEL +0 -0
- {ras_commander-0.75.0.dist-info → ras_commander-0.76.0.dist-info}/licenses/LICENSE +0 -0
- {ras_commander-0.75.0.dist-info → ras_commander-0.76.0.dist-info}/top_level.txt +0 -0
ras_commander/RasPrj.py
CHANGED
@@ -1324,7 +1324,8 @@ def init_ras_project(ras_project_folder, ras_version=None, ras_object=None):
|
|
1324
1324
|
|
1325
1325
|
# Look for .pXX files in project folder
|
1326
1326
|
logger.info(f"Searching for plan files in {project_folder}")
|
1327
|
-
|
1327
|
+
# Search for any file with .p01 through .p99 extension, regardless of base name
|
1328
|
+
plan_files = list(project_folder.glob("*.p[0-9][0-9]"))
|
1328
1329
|
|
1329
1330
|
if not plan_files:
|
1330
1331
|
logger.info(f"No plan files found in {project_folder}")
|
@@ -1345,6 +1346,10 @@ def init_ras_project(ras_project_folder, ras_version=None, ras_object=None):
|
|
1345
1346
|
version = line.split("=")[1].strip()
|
1346
1347
|
logger.info(f"Found Program Version={version} in {plan_file.name}")
|
1347
1348
|
|
1349
|
+
# Replace 00 in version string if present
|
1350
|
+
if "00" in version:
|
1351
|
+
version = version.replace("00", "0")
|
1352
|
+
|
1348
1353
|
# Try to get RAS executable for this version
|
1349
1354
|
test_exe_path = get_ras_exe(version)
|
1350
1355
|
logger.info(f"Checking RAS executable path: {test_exe_path}")
|
ras_commander/__init__.py
CHANGED
@@ -21,12 +21,12 @@ ras_commander/RasExamples.py,sha256=6IZ96LcAsk5LYFehdD0zDW5wyZWxQa6OQu2N9upxWXA,
|
|
21
21
|
ras_commander/RasGeo.py,sha256=CQ1VjJ4uWWyXC9KsoVStbhlRf_5AiDm8yWvtDM3l4ac,21675
|
22
22
|
ras_commander/RasMap.py,sha256=4cVzaaQure-CXdXB1BY29iE20S00eldUqoL96PvJPbw,10635
|
23
23
|
ras_commander/RasPlan.py,sha256=GhAeUSvWRuBcYcOtBCo-qZGUefEWOlhw4ASJQHTGWzU,63872
|
24
|
-
ras_commander/RasPrj.py,sha256=
|
24
|
+
ras_commander/RasPrj.py,sha256=XbFWp8Du7mJNSBdeZNqzSQAnKJXXhlIlNAiC4pXCEmY,61532
|
25
25
|
ras_commander/RasUnsteady.py,sha256=TO08CT2GC4G5rcXO_Wbia2t4PhiWRu9-nC9F0IW7Gyo,37187
|
26
26
|
ras_commander/RasUtils.py,sha256=0fm4IIs0LH1dgDj3pGd66mR82DhWLEkRKUvIo2M_5X0,35886
|
27
|
-
ras_commander/__init__.py,sha256=
|
28
|
-
ras_commander-0.
|
29
|
-
ras_commander-0.
|
30
|
-
ras_commander-0.
|
31
|
-
ras_commander-0.
|
32
|
-
ras_commander-0.
|
27
|
+
ras_commander/__init__.py,sha256=oWD97fwXTwfQ0l3-W3tj65l_fWmd453CWL-TBnK9-Ho,2039
|
28
|
+
ras_commander-0.76.0.dist-info/licenses/LICENSE,sha256=_pbd6qHnlsz1iQ-ozDW_49r86BZT6CRwO2iBtw0iN6M,457
|
29
|
+
ras_commander-0.76.0.dist-info/METADATA,sha256=eEQ2bJt_VyNXNW0OXC-yNXn4QVXPQy2apc9WY7YKtaY,27365
|
30
|
+
ras_commander-0.76.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
31
|
+
ras_commander-0.76.0.dist-info/top_level.txt,sha256=i76S7eKLFC8doKcXDl3aiOr9RwT06G8adI6YuKbQDaA,14
|
32
|
+
ras_commander-0.76.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|