Skip to content

Commit

Permalink
chore(tests): remove print statements referencing pymake
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Jan 17, 2023
1 parent 5bea579 commit 0b4e70d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions autotest/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import shutil
import sys
import time
from traceback import format_exc

import flopy
import numpy as np
Expand Down Expand Up @@ -125,21 +126,16 @@ def set_model(self, pth, testModel=True):
# if self.mf6_regression:
# self.action = "mf6_regression"
# else:
# self.action = pymake.get_mf6_comparison(pth)
# self.action = get_mf6_comparison(pth)
if self.action is not None:
if "mf6" in self.action or "mf6_regression" in self.action:
cinp, self.coutp = get_mf6_files(fpth)

def setup(self, src, dst):
msg = sfmt.format("Setup test", self.name)
msg = sfmt.format("Setting up test workspace", self.name)
print(msg)
self.originpath = src
self.simpath = dst
# write message
print(
"running pymake.setup_mf6 from "
+ f"{os.path.abspath(os.getcwd())}"
)
try:
self.inpt, self.outp = setup_mf6(src=src, dst=dst)
print("waiting...")
Expand All @@ -149,7 +145,7 @@ def setup(self, src, dst):
success = False
print(f"source: {src}")
print(f"destination: {dst}")
assert success, "did not run pymake.setup_mf6"
assert success, f"Failed to set up test workspace: {format_exc()}"

if success:
self.setup_comparison(src, dst)
Expand Down

0 comments on commit 0b4e70d

Please sign in to comment.