Skip to content

Commit

Permalink
save pathfinder inits
Browse files Browse the repository at this point in the history
  • Loading branch information
teddygroves committed Oct 19, 2023
1 parent 106fcf5 commit 59db57a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maud/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,10 @@ def do_pathfinder(data_path, output_dir):
os.mkdir(samples_path)
print(f"Copying user input from {data_path} to {ui_dir}")
shutil.copytree(data_path, ui_dir)
pathfinder(mi, samples_path)
pf = pathfinder(mi, samples_path)
inits_pf = pf.create_inits()
with open(os.path.join(samples_path, "inits_pathfinder.json", "w")) as f:
json.dump(inits_pf, f)
return output_path


Expand Down

0 comments on commit 59db57a

Please sign in to comment.