Skip to content
Snippets Groups Projects
Commit 208fd972 authored by nfontrod's avatar nfontrod
Browse files

src/visu/__main__.py: small simplication

parent 4be65dfa
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ def launcher(design: str, bw_folder: str, region_beds: List[str],
raise ValueError(f"The two values given with --environment must "
f"be greater than 0 and the first value must be "
f"greater than the second")
show_rep = True if show_replicate.lower() == 'y' else False
show_rep = show_replicate.lower() == 'y'
norm = int(norm) if norm.isdigit() else None if norm == 'None' else norm
if isinstance(norm, str):
norm = Path(norm)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment