Skip to content

Commit

Permalink
Add type annotations so generate+autocli works
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleAalbers committed Nov 18, 2022
1 parent 8f29e4c commit 9db46e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion paltas/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
from paltas.Utils.cli_maker import make_cli


def generate_from_config(config_path, save_folder, n=1, save_png_too=False, tf_record=False):
def generate_from_config(
config_path, save_folder,
n: int = 1,
save_png_too: bool = False,
tf_record: bool = False):
"""Generate simulated strong lensing images
Args:
Expand Down

0 comments on commit 9db46e1

Please sign in to comment.