Skip to content

Commit

Permalink
Step argument needs to be an integer also
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Jan 11, 2024
1 parent be088a3 commit da3d661
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simulatingrisk/hawkdovemulti/batch_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def main():
help="Maximum steps to run simulations if they have not already "
+ "converged (default: %(default)s)",
default=125, # typically converges quickly, around step 60 without randomness
type=int,
)
parser.add_argument(
"-p",
Expand All @@ -161,6 +162,8 @@ def main():
action=argparse.BooleanOptionalAction,
default=True,
)
# TODO: should probably add an arg for data dir

args = parser.parse_args()
batch_run(params, args.iterations, args.processes, args.max_steps, args.progress)

Expand Down

0 comments on commit da3d661

Please sign in to comment.