Skip to content

Commit

Permalink
pass locals and kwargs to input file writing!
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsavel committed Aug 18, 2024
1 parent fd26cac commit c13bac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scope/run_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def simulate_observation(
make_outdir(outdir)

# and write the input file out
write_input_file(locals(), output_file_path=f"{outdir}/input.txt")
write_input_file(locals().update(kwargs), output_file_path=f"{outdir}/input.txt")

phases = np.linspace(phase_start, phase_end, n_exposures)
Rp_solar = Rp * rjup_rsun # convert from jupiter radii to solar radii
Expand Down

0 comments on commit c13bac7

Please sign in to comment.