From 5413eecc040da9d41c81959a80cf4049db6a359b Mon Sep 17 00:00:00 2001 From: Donald Campbell <125581724+donaldcampbelljr@users.noreply.github.com> Date: Thu, 4 Apr 2024 14:00:03 -0400 Subject: [PATCH] version bump on requirements #216 --- pypiper/manager.py | 4 ++-- pypiper/ngstk.py | 3 ++- requirements/requirements-docs.txt | 2 +- requirements/requirements-pypiper.txt | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pypiper/manager.py b/pypiper/manager.py index e4e72cb..965945b 100644 --- a/pypiper/manager.py +++ b/pypiper/manager.py @@ -52,7 +52,7 @@ default_pipestat_output_schema, result_formatter_markdown, ) -from pipestat.helpers import read_yaml_data +from yacman import load_yaml __all__ = ["PipelineManager"] @@ -1828,7 +1828,7 @@ def _refresh_stats(self): """ if os.path.isfile(self.pipeline_stats_file): - _, data = read_yaml_data(path=self.pipeline_stats_file, what="stats_file") + data = load_yaml(filepath=self.pipeline_stats_file) for key, value in data[self._pipestat_manager.pipeline_name][ self._pipestat_manager.pipeline_type diff --git a/pypiper/ngstk.py b/pypiper/ngstk.py index b607913..329b321 100755 --- a/pypiper/ngstk.py +++ b/pypiper/ngstk.py @@ -153,7 +153,8 @@ 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, ) diff --git a/requirements/requirements-docs.txt b/requirements/requirements-docs.txt index ef5b4e6..9ae381f 100644 --- a/requirements/requirements-docs.txt +++ b/requirements/requirements-docs.txt @@ -2,5 +2,5 @@ mkdocs>=1.0 markdown-include pydoc-markdown piper -pipestat>=0.6.0 +pipestat>=0.9.0a1 https://github.com/databio/mkdocs-databio/archive/master.zip \ No newline at end of file diff --git a/requirements/requirements-pypiper.txt b/requirements/requirements-pypiper.txt index 9a35f34..180ad3d 100644 --- a/requirements/requirements-pypiper.txt +++ b/requirements/requirements-pypiper.txt @@ -1,6 +1,6 @@ logmuse>=0.2.4 psutil pandas -ubiquerg>=0.4.5 -yacman -pipestat>=0.6.0 +ubiquerg>=0.8.0 +yacman>=0.9.3 +pipestat>=0.9.0a1