Skip to content

Commit

Permalink
chore: bump version -> 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bdelepine committed Nov 27, 2018
1 parent 436c9bf commit e456015
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
version = '2.0'
# The full version, including alpha/beta/rc tags.
# Do not forget to update PyPi (setup.py) version
release = '2.0.4'
release = '2.0.5'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion isocor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
for conveniance.
"""

__version__ = '2.0.4'
__version__ = '2.0.5'

from isocor.mscorrectors import MetaboliteCorrectorFactory
from isocor.mscorrectors import LowResMetaboliteCorrector, HighResMetaboliteCorrector
4 changes: 2 additions & 2 deletions isocor/ui/isocordb.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def registerIsopotes(self, isotopesfile=Path("Isotopes.dat")):
if not isotopesfile.is_file():
raise ValueError(
"Isotopes database not found in:\n'{}'.".format(isotopesfile))
with open(str(isotopesfile), 'r') as fp:
with open(str(isotopesfile), 'r') as fp: # str for compatibility with Python3.5
self.dfIsotopes = pd.read_csv(fp)
for i in ['element', 'mass', 'abundance']:
if i not in self.dfIsotopes.columns:
Expand Down Expand Up @@ -116,7 +116,7 @@ def registerMetabolitesDB(self, metabolitesfile=Path("Metabolites.dat")):
def registerDatafile(self, datafile=Path("mydata.tsv")):
if not Path(datafile).is_file():
raise ValueError("No data file selected.")
with open(datafile, 'r') as fp:
with open(str(datafile), 'r') as fp:
self.dfDatafile = pd.read_csv(fp, delimiter='\t')
for i in ['sample', 'metabolite', 'derivative', 'area', 'isotopologue']:
if i not in self.dfDatafile.columns:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="IsoCor",
version="2.0.4",
version="2.0.5",
author="Pierre Millard, Baudoin Delépine, Matthieu Guionnet",
author_email="[email protected]",
description="IsoCor: Isotope Correction for mass spectrometry labeling experiments",
Expand Down

0 comments on commit e456015

Please sign in to comment.