Skip to content

Commit d30206a

Browse files
authored
Merge pull request #341 from MannLabs/fix-wrong-if-condition
Fix wrong if condition
2 parents 179fe49 + b00cc2f commit d30206a

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.6.8
2+
current_version = 0.6.9
33
commit = True
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?

alphastats/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__project__ = "alphastats"
2-
__version__ = "0.6.8"
2+
__version__ = "0.6.9"
33
__license__ = "Apache"
44
__description__ = "An open-source Python package for Mass Spectrometry Analysis"
55
__author__ = "Mann Labs"

alphastats/plots/VolcanoPlot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def _sam(self):
149149

150150
transposed = self.dataset.mat.transpose()
151151

152-
if self.dataset.preprocessing_info["Log2-transformed"] is None:
152+
if not self.dataset.preprocessing_info["Log2-transformed"]:
153153
# needs to be lpog2 transformed for fold change calculations
154154
transposed = transposed.transform(lambda x: np.log2(x))
155155

alphastats/statistics/DifferentialExpressionAnalysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def sam(self) -> pd.DataFrame:
9090
from alphastats.multicova import multicova
9191
transposed = self.dataset.mat.transpose()
9292

93-
if self.dataset.preprocessing_info["Log2-transformed"] is None:
93+
if not self.dataset.preprocessing_info["Log2-transformed"]:
9494
# needs to be lpog2 transformed for fold change calculations
9595
transposed = transposed.transform(lambda x: np.log2(x))
9696

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "Elena Krismer"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.6.8"
26+
release = "0.6.9"
2727

2828

2929
# -- General configuration ---------------------------------------------------

release/one_click_linux_gui/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Package: alphastats
2-
Version: 0.6.8
2+
Version: 0.6.9
33
Architecture: all
44
Maintainer: MannLabs
55
Description: alphastats

release/one_click_linux_gui/create_installer_linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python setup.py sdist bdist_wheel
1717
# Setting up the local package
1818
cd release/one_click_linux_gui
1919
# Make sure you include the required extra packages and always use the stable or very-stable options!
20-
pip install "../../dist/alphastats-0.6.8-py3-none-any.whl"
20+
pip install "../../dist/alphastats-0.6.9-py3-none-any.whl"
2121

2222
# Creating the stand-alone pyinstaller folder
2323
pip install pyinstaller==5.8

release/one_click_macos_gui/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleIconFile</key>
1010
<string>alphapeptstats_logo.icns</string>
1111
<key>CFBundleIdentifier</key>
12-
<string>alphastats.0.6.8</string>
12+
<string>alphastats.0.6.9</string>
1313
<key>CFBundleShortVersionString</key>
1414
<string>0.6.0</string>
1515
<key>CFBundleInfoDictionaryVersion</key>

release/one_click_macos_gui/create_installer_macos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ python setup.py sdist bdist_wheel
2020

2121
# Setting up the local package
2222
cd release/one_click_macos_gui
23-
pip install "../../dist/alphastats-0.6.8-py3-none-any.whl"
23+
pip install "../../dist/alphastats-0.6.9-py3-none-any.whl"
2424

2525
# Creating the stand-alone pyinstaller folder
2626
pip install pyinstaller==5.8

release/one_click_macos_gui/distribution.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8" standalone="no"?>
22
<installer-script minSpecVersion="1.000000">
3-
<title>AlphaPeptStats 0.6.8</title>
3+
<title>AlphaPeptStats 0.6.9</title>
44
<background mime-type="image/png" file="alphapeptstats_logo.png" scaling="proportional"/>
55
<welcome file="welcome.html" mime-type="text/html" />
66
<conclusion file="conclusion.html" mime-type="text/html" />

release/one_click_windows_gui/alphastats_innoinstaller.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "AlphaPeptStats"
5-
#define MyAppVersion "0.6.8"
5+
#define MyAppVersion "0.6.9"
66
#define MyAppPublisher "MannLabs"
77
#define MyAppURL "https://github.com/MannLabs/alphapeptstats"
88
#define MyAppExeName "alphastats_gui.exe"

release/one_click_windows_gui/create_installer_windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ python setup.py sdist bdist_wheel
1717
# Setting up the local package
1818
cd release/one_click_windows_gui
1919
# Make sure you include the required extra packages and always use the stable or very-stable options!
20-
pip install "../../dist/alphastats-0.6.8-py3-none-any.whl"
20+
pip install "../../dist/alphastats-0.6.9-py3-none-any.whl"
2121

2222
# Creating the stand-alone pyinstaller folder
2323
pip install pyinstaller==5.8

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def create_pip_wheel():
2525
requirements = get_requirements()
2626
setuptools.setup(
2727
name="alphastats",
28-
version="0.6.8",
28+
version="0.6.9",
2929
license="Apache",
3030
description="An open-source Python package for automated and scalable statistical analysis of mass spectrometry-based proteomics",
3131
long_description=get_long_description(),

0 commit comments

Comments
 (0)