mirror of https://github.com/vacp2p/wakurtosis.git
Not having a gennet config should not be considered an error.
This commit is contained in:
parent
d8c3429bb6
commit
e58a7aaf6b
|
@ -298,7 +298,7 @@ def conf_callback(ctx: typer.Context, param: typer.CallbackParam, cfile: str):
|
|||
conf = json.load(f)
|
||||
if "gennet" not in conf:
|
||||
print(f"Gennet configuration not found in {cfile}. Skipping topology generation.")
|
||||
sys.exit(1)
|
||||
sys.exit(0)
|
||||
if "general" in conf and "prng_seed" in conf["general"]:
|
||||
conf["gennet"]["prng_seed"] = conf["general"]["prng_seed"]
|
||||
# TODO : type-check and sanity-check the config.json
|
||||
|
|
Loading…
Reference in New Issue