From 72dce9aed8732a5fc523f7cd3a0c94c59f83aa6d Mon Sep 17 00:00:00 2001 From: Duy Pham Date: Thu, 24 Dec 2020 15:15:25 +1000 Subject: [PATCH] Update 0.3.1 --- HISTORY.rst | 2 +- requirements.txt | 2 +- setup.cfg | 2 +- setup.py | 2 +- stlearn/__init__.py | 2 +- stlearn/plotting/trajectory/DE_transition_plot.py | 4 +++- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index 3b25affd..1d762bae 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,7 +3,7 @@ History ======= -0.3.0 (2020-12-24) +0.3.1 (2020-12-24) ------------------ 0.2.7 (2020-09-12) ------------------ diff --git a/requirements.txt b/requirements.txt index 8a62d045..e69590fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ scanpy==1.5.1 -tensorflow==2.2.1 +tensorflow==2.4.0 Pillow==7.1.2 gseapy>=0.10 NaiveDE==1.2 diff --git a/setup.cfg b/setup.cfg index 5dcc58b0..c16debb8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.0 +current_version = 0.3.1 commit = True tag = True diff --git a/setup.py b/setup.py index 4a68c3bc..7eb87b56 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/BiomedicalMachineLearning/stLearn', - version='0.3.0', + version='0.3.1', zip_safe=False, ) diff --git a/stlearn/__init__.py b/stlearn/__init__.py index f69dcd83..2cc41706 100644 --- a/stlearn/__init__.py +++ b/stlearn/__init__.py @@ -2,7 +2,7 @@ __author__ = """Genomics and Machine Learning lab""" __email__ = 'duy.pham@uq.edu.au' -__version__ = '0.3.0' +__version__ = '0.3.1' from . import read diff --git a/stlearn/plotting/trajectory/DE_transition_plot.py b/stlearn/plotting/trajectory/DE_transition_plot.py index c8b042a1..c37e7abe 100644 --- a/stlearn/plotting/trajectory/DE_transition_plot.py +++ b/stlearn/plotting/trajectory/DE_transition_plot.py @@ -237,4 +237,6 @@ def DE_transition_plot( va="center", ) plt.show() - plt.savefig(output + "/" + name, dpi=dpi, bbox_inches="tight", pad_inches=0) + if output is not None: + if name is not None: + plt.savefig(output + "/" + name, dpi=dpi, bbox_inches="tight", pad_inches=0)