From fcb02facd2da19b3e129769a67729f35a571696d Mon Sep 17 00:00:00 2001 From: Vince Reuter Date: Sun, 18 Feb 2024 15:50:28 +0100 Subject: [PATCH] apply new black formatting --- pypiper/const.py | 1 - pypiper/ngstk.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pypiper/const.py b/pypiper/const.py index 2749529..0bfbdb6 100644 --- a/pypiper/const.py +++ b/pypiper/const.py @@ -1,6 +1,5 @@ """ Pypiper constants. """ - CHECKPOINT_EXTENSION = ".checkpoint" DEFAULT_SAMPLE_NAME = "DEFAULT_SAMPLE_NAME" PIPELINE_CHECKPOINT_DELIMITER = "_" diff --git a/pypiper/ngstk.py b/pypiper/ngstk.py index 329b321..b607913 100755 --- a/pypiper/ngstk.py +++ b/pypiper/ngstk.py @@ -153,8 +153,7 @@ def get_file_size(self, filenames): return sum([self.get_file_size(filename) for filename in filenames]) return round( - sum([float(os.stat(f).st_size) for f in filenames.split(" ")]) - / (1024**2), + sum([float(os.stat(f).st_size) for f in filenames.split(" ")]) / (1024**2), 4, )