Skip to content

Commit

Permalink
version 1.2.6 updates
Browse files Browse the repository at this point in the history
updated autocorrelation function
  • Loading branch information
gmiaslab committed Mar 16, 2021
1 parent c8c9ac2 commit c68e0a3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
7 changes: 6 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
- 1.2.6

* Updated autocorrelation computation function to improve handling of nan values.

- 1.2.5
* Updated visibilityGraphCommunityDetection functions (correction for division by zero in community calculations)

* Updated visibilityGraphCommunityDetection functions (correction for division by zero in community calculations).

- 1.2.4

Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ def setup(app):
author = 'S. Domanskyi, C. Piermarocchi, G. Mias'

# The short X.Y version
version = '1.2.5'
version = '1.2.6'
# The full version, including alpha/beta/rc tags
release = '1.2.5'
release = '1.2.6'


# -- General configuration ---------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion pyiomica/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
For additional information visit: https://github.com/gmiaslab/pyiomica and https://mathiomica.org by G. Mias Lab
"""

print("Loading PyIOmica 1.2.5 (https://github.com/gmiaslab/pyiomica by G. Mias Lab)")
print("Loading PyIOmica 1.2.6 (https://github.com/gmiaslab/pyiomica by G. Mias Lab)")


from .globalVariables import *
Expand Down
2 changes: 1 addition & 1 deletion pyiomica/coreFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def autocorrelation(inputTimes, inputData, inputSetTimes, UpperFrequencyFactor=1
result = autocorrelation(inputTimes, inputData, inputSetTimes)
"""
# in case the values passed contain nan entries, theses are removed - this could affect window estimation and ensuing functions.
inputTimes = inputTimes[~np.isnan(inputData)
inputTimes = inputTimes[~np.isnan(inputData)]
inputData = inputData[~np.isnan(inputData)]
def InverseAutocovariance(inputTimes, inputData, inputSetTimes, UpperFrequencyFactor=1):

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
setup(
name='pyiomica',
packages=find_packages(),
version='1.2.5',
version='1.2.6',
description='Omics Analysis Tool Suite',
long_description_content_type="text/markdown",
long_description=long_description,
Expand All @@ -21,7 +21,7 @@
author_email='[email protected]',
license='MIT',
url='https://github.com/gmiaslab/pyiomica',
download_url='https://github.com/gmiaslab/pyiomica/archive/1.2.5.tar.gz',
download_url='https://github.com/gmiaslab/pyiomica/archive/1.2.6.tar.gz',
keywords=['omics', 'longitudinal','bioinformatics'],
classifiers=[
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit c68e0a3

Please sign in to comment.