Skip to content

Commit

Permalink
Merge pull request #24 from daavid00/deb
Browse files Browse the repository at this point in the history
Fix to plot summary vectors with operations
  • Loading branch information
daavid00 authored Nov 12, 2024
2 parents 9a8c8b8 + 60ae4d6 commit e136a16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/plopm/utils/initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def is_summary(dic):
print(summary)
sys.exit()
for name in dic["vrs"]:
if name.upper() in summary + dic["smass"]:
names = name.split(" ")
if names[0].upper() in summary + dic["smass"]:
return True
if dic["printv"] == 1:
sys.exit()
Expand Down
2 changes: 1 addition & 1 deletion src/plopm/utils/vtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def make_vtks(dic):
args=f"{dic['flow']} --version", stdout=PIPE, shell=True
) as process:
dic["flow_version"] = str(process.communicate()[0])[7:-3]
if dic["flow_version"] == "2024.04":
if dic["flow_version"] == "2024.10":
make_dry_deck(dic)
else:
os.system(f"cp {dic['deck']}.DATA {dic['deck']}_DRYRUN.DATA")
Expand Down

0 comments on commit e136a16

Please sign in to comment.