Skip to content

Commit e47eabf

Browse files
authored
Setuppy (#64)
* flake fix * flake fix * add setup.py
1 parent ac7b89f commit e47eabf

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[metadata]
22
name = dca
33
version = 1.0.0
4-
author = Jesse Livezey
4+
author = Jesse Livezey, David Clark
55
author_email = jesse.livezey@gmail.com
66
description = Dynamical Components Analysis
77
long_description = file: README.md

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from setuptools import setup
2+
3+
4+
setup()

src/dca/cov_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ def calc_cross_cov_mats_from_data(X, T, mean=None, chunks=None, stride=1,
251251
cov_est /= (n_samples - 1.)
252252
else:
253253
if len(X) <= T:
254-
raise ValueError('T must be shorter than the length of the shortest '\
255-
'timeseries. If you are using the DCA model, 2 * DCA.T must be '\
254+
raise ValueError('T must be shorter than the length of the shortest ' +
255+
'timeseries. If you are using the DCA model, 2 * DCA.T must be ' +
256256
'shorter than the shortest timeseries.')
257257
if mean is None:
258258
mean = X.mean(axis=0, keepdims=True)

0 commit comments

Comments
 (0)