From 208fd972e0bc11a3579074c004e09ac6e66c2858 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Fri, 15 Oct 2021 14:18:57 +0200 Subject: [PATCH] src/visu/__main__.py: small simplication --- src/visu/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visu/__main__.py b/src/visu/__main__.py index f9253e8..be22e42 100644 --- a/src/visu/__main__.py +++ b/src/visu/__main__.py @@ -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) -- GitLab