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:
parent
7ebb26402f
commit
c9a8f1e336
1 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue