From 7c40194392784d4a9b20ce6ff550069bd773f14b Mon Sep 17 00:00:00 2001 From: Yasemin Bridges Date: Thu, 16 Jan 2025 15:05:01 +0000 Subject: [PATCH] tox lint --- src/pheval/prepare/prepare_corpus.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pheval/prepare/prepare_corpus.py b/src/pheval/prepare/prepare_corpus.py index 15cd1810..31224250 100644 --- a/src/pheval/prepare/prepare_corpus.py +++ b/src/pheval/prepare/prepare_corpus.py @@ -90,6 +90,10 @@ def prepare_corpus( ) else: # if not updating phenopacket gene identifiers then copy phenopacket as is to output directory - shutil.copy( - phenopacket_path, output_dir.joinpath(f"phenopackets/{phenopacket_path.name}") - ) if phenopacket_path != output_dir.joinpath(f"phenopackets/{phenopacket_path.name}") else None + ( + shutil.copy( + phenopacket_path, output_dir.joinpath(f"phenopackets/{phenopacket_path.name}") + ) + if phenopacket_path != output_dir.joinpath(f"phenopackets/{phenopacket_path.name}") + else None + )