Skip to content

Commit

Permalink
Testing DX file naming problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
lvotapka committed Jul 31, 2023
1 parent c40c9e6 commit da329f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion seekr2/modules/common_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ def load_model(model_file, directory=None):
"""
assert os.path.exists(model_file), \
"A nonexistent model file was specified: {}.".format(model_file)
"No such file or directory: {}.".format(model_file)
model = Model()
model.deserialize(model_file)
if directory is not None:
Expand Down
5 changes: 5 additions & 0 deletions seekr2/modules/runner_browndye2.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,11 @@ def run_bd_top(browndye_bin_dir, bd_directory, restart=False,
assert os.path.exists(sim_browndye2.BROWNDYE_INPUT_FILENAME), \
"Necessary file doesn't exist: %s" % \
sim_browndye2.BROWNDYE_INPUT_FILENAME
print("ls:", os.listdir())
print("input.xml lines:")
with open(sim_browndye2.BROWNDYE_INPUT_FILENAME, "r") as f:
for line in f.readlines():
print(line)
print("running command:", command)
os.system(command)
assert os.path.exists(simulation_filename), "Problem occurred running "\
Expand Down

0 comments on commit da329f9

Please sign in to comment.