Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pytools/idfx_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,9 @@ def standardTest(self):
comm = [sys.executable, "testidefix.py"]
if self.noplot:
comm.append("-noplot")
if self.inifile:
comm.append("-ini")
comm.append(self.inifile)

print(bcolors.OKCYAN + "Running standard test...")
try:
Expand Down
2 changes: 1 addition & 1 deletion test/SelfGravity/RandomSphere/python/testidefix.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"-noplot", default=False, help="disable plotting", action="store_true"
)

args = parser.parse_args()
args, unkown_args = parser.parse_known_args()

# Read vtk
V = readVTK("../data.0000.vtk")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def getPsiTheoretical(x, y, z, rho):
"-noplot", default=False, help="disable plotting", action="store_true"
)

args = parser.parse_args()
args, unknown = parser.parse_known_args()

# Read vtk
V = readVTK("../data.0000.vtk")
Expand Down
Loading