1
0
Fork 0
mirror of https://github.com/cosmo-sims/cosmICweb-music.git synced 2024-09-19 16:53:43 +02:00

add help to all options

This commit is contained in:
Lukas Winkler 2024-04-22 15:17:35 +02:00
parent 7ebb26402f
commit c9a8f1e336
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -85,7 +85,7 @@ def fetch_ellipsoids(url: str, api_token: str, attempts: int) -> list[Ellipsoid]
def fetch_ellipsoid(
url: str, api_token: str, traceback_radius:float, attempts: int = 3
url: str, api_token: str, traceback_radius: float, attempts: int = 3
) -> Ellipsoid | None:
ellipsoids = fetch_ellipsoids(url, api_token, attempts)
if ellipsoids:
@ -351,7 +351,11 @@ def dir_path(p: str) -> str:
default="./",
help="Download target for IC files. If downloading publication, will create a subfolder with the name of the publication",
)
@click.option("--common-directory", is_flag=True)
@click.option(
"--common-directory",
is_flag=True,
help="store all config files in the same directory instead of individual directories for each halo",
)
@click.option(
"--attempts", type=int, default=3, help="number of attempts to download ellipsoids"
)