ras-commander 0.68.0__py3-none-any.whl → 0.70.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/RasPlan.py +13 -1
- ras_commander/__init__.py +1 -1
- {ras_commander-0.68.0.dist-info → ras_commander-0.70.0.dist-info}/METADATA +1 -1
- {ras_commander-0.68.0.dist-info → ras_commander-0.70.0.dist-info}/RECORD +7 -7
- {ras_commander-0.68.0.dist-info → ras_commander-0.70.0.dist-info}/LICENSE +0 -0
- {ras_commander-0.68.0.dist-info → ras_commander-0.70.0.dist-info}/WHEEL +0 -0
- {ras_commander-0.68.0.dist-info → ras_commander-0.70.0.dist-info}/top_level.txt +0 -0
ras_commander/RasPlan.py
CHANGED
@@ -249,7 +249,19 @@ class RasPlan:
|
|
249
249
|
raise FileNotFoundError(f"Plan file not found: {plan_number}")
|
250
250
|
|
251
251
|
try:
|
252
|
-
|
252
|
+
# Read the plan file
|
253
|
+
with open(plan_file_path, 'r') as f:
|
254
|
+
lines = f.readlines()
|
255
|
+
|
256
|
+
# Update the Flow File line
|
257
|
+
for i, line in enumerate(lines):
|
258
|
+
if line.startswith("Flow File="):
|
259
|
+
lines[i] = f"Flow File=u{new_unsteady_flow_number}\n"
|
260
|
+
break
|
261
|
+
|
262
|
+
# Write back to the plan file
|
263
|
+
with open(plan_file_path, 'w') as f:
|
264
|
+
f.writelines(lines)
|
253
265
|
|
254
266
|
# Update all dataframes
|
255
267
|
ras_obj.plan_df = ras_obj.get_plan_entries()
|
ras_commander/__init__.py
CHANGED
@@ -21,14 +21,14 @@ ras_commander/RasExamples.py,sha256=6IZ96LcAsk5LYFehdD0zDW5wyZWxQa6OQu2N9upxWXA,
|
|
21
21
|
ras_commander/RasGeo.py,sha256=M0sVNKlWmmbve8iMXLWq25WgbxqLWBo7_1oDg_rALzU,5607
|
22
22
|
ras_commander/RasGpt.py,sha256=N_7p2nucWrBBXdB2k2ZKvOeOdXNmFD9dIY3W7_5i5nw,1206
|
23
23
|
ras_commander/RasMapper.py,sha256=LO_blvQnd4pwkEU8A30-RoE-CYIoU3s_fNLHBoM8ljw,613
|
24
|
-
ras_commander/RasPlan.py,sha256=
|
24
|
+
ras_commander/RasPlan.py,sha256=ObcKlgduZx0ObENXJN96gvMxoNg7xkb6uVIvJf610YE,62051
|
25
25
|
ras_commander/RasPrj.py,sha256=uJ8jHq_Y5-ZnQW6nWhTuHFfaDGuMrJo1HQRvd1QwINQ,50228
|
26
26
|
ras_commander/RasToGo.py,sha256=TKujfaV1xQhFaOddF4g2ogGy6ky-CLlfelSMPD2J3Nk,1223
|
27
27
|
ras_commander/RasUnsteady.py,sha256=KfCXAag-_bPwwS3JbPZH-s4hbaoHACO0mlRnGrzbFgA,32092
|
28
28
|
ras_commander/RasUtils.py,sha256=0fm4IIs0LH1dgDj3pGd66mR82DhWLEkRKUvIo2M_5X0,35886
|
29
|
-
ras_commander/__init__.py,sha256=
|
30
|
-
ras_commander-0.
|
31
|
-
ras_commander-0.
|
32
|
-
ras_commander-0.
|
33
|
-
ras_commander-0.
|
34
|
-
ras_commander-0.
|
29
|
+
ras_commander/__init__.py,sha256=EL2bxtTEwGf_6TgdtEShz2e0sqvBJfVuYUqS80E4J1k,2001
|
30
|
+
ras_commander-0.70.0.dist-info/LICENSE,sha256=_pbd6qHnlsz1iQ-ozDW_49r86BZT6CRwO2iBtw0iN6M,457
|
31
|
+
ras_commander-0.70.0.dist-info/METADATA,sha256=UPe7c6q-3kBUNdtZ7gfUag6ymE_wWaCbq9wvxwM0HzA,26233
|
32
|
+
ras_commander-0.70.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
33
|
+
ras_commander-0.70.0.dist-info/top_level.txt,sha256=i76S7eKLFC8doKcXDl3aiOr9RwT06G8adI6YuKbQDaA,14
|
34
|
+
ras_commander-0.70.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|