-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from clbarnes/master
Re-enable tests, readability improvements, fix transitivity bug
- Loading branch information
Showing
7 changed files
with
99 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
language: python | ||
|
||
sudo : false | ||
|
||
python: | ||
- "2.7" | ||
- "3.5" | ||
|
||
# command to set up conda | ||
before_install: | ||
- if [ ${TRAVIS_PYTHON_VERSION:O:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-3.19.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.19.0-Linux-x86_64.sh -O miniconda.sh; fi | ||
- bash miniconda.sh -b -p /home/travis/mc | ||
- export PATH=/home/travis/mc/bin:$PATH | ||
|
||
# command to install dependencies | ||
install: | ||
- conda update --yes conda | ||
#- conda config --add channels soft-matter | ||
- conda create -n testenv --yes numpy=1.10 scipy=0.17 nose setuptools python=${TRAVIS_PYTHON_VERSION} | ||
- source activate testenv | ||
- python setup.py install | ||
|
||
before_install: | ||
- if [ ${TRAVIS_PYTHON_VERSION:O:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda2-3.19.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.19.0-Linux-x86_64.sh -O miniconda.sh; fi | ||
#- chmod +x miniconda.sh | ||
- echo "red phones" | ||
- bash miniconda.sh -b -p /home/travis/mc | ||
- export PATH=/home/travis/mc/bin:$PATH | ||
# command to run tests | ||
script: | ||
- nosetests -V | ||
- nosetests --ignore-files="very_long_tests" -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# BCT 0.4.1 | ||
|
||
- Refactor code into multiple files | ||
- Fix bug in efficiency_bin | ||
- Fix bugs in modularity_louvain_und | ||
- Fix bugs in `participation_coef_b*` | ||
- Add some test cases | ||
|
||
# BCT 0.4.0 | ||
|
||
- Add various new functions from Jan 2015 release of BCT | ||
- Fix various bugs documented in github issues | ||
|
||
# BCT 0.3.3 | ||
|
||
- Fix small bug in `latmio_und_connected` causing failure for sparse matrices | ||
- Add non-networkx dependent algorithm to get_components (but less efficient) | ||
- Add an implementation of consensus clustering and fix bug in agreement | ||
- Fix bug causing `clustering_coef_bu` to always return 0 | ||
- Remembered to update changelog | ||
- Fix some bugs in `modularity_louvain_dir` and related | ||
- Fix bug in NBS and add optional paired-sample test statistic (sviter) | ||
|
||
# BCT 0.3.2 | ||
|
||
- Change several functions including threshold_proportional and binarize have `copy=True` as default argument | ||
- Fix bug in `threshold_proportional` where copying behavior did not work symmetric matrices. | ||
- Fix minor quirk in `threshold_proportional` where `np.round` rounds to nearest even number (optimizes floating point) which is discrepant with BCT | ||
- Add a test suite with some functions | ||
- Fix typo in `rich_club_bu` | ||
- Refactor `x[range(n),range(n)]` to `np.fill_diagonal` | ||
- Fix off-by-one bug in `moduality_[prob/fine]tune_und_sign` | ||
|
||
# BCT 0.3.1 | ||
|
||
- Fix bug in NBS | ||
- Fix series of bugs in `null_models` | ||
|
||
# BCT 0.3 | ||
|
||
- Added NBS | ||
- Added in all of the new functions from the Dec 2013 release of BCT | ||
- Fixed numerous bugs having to do with indexing errors in modularity | ||
- Fixed several odd bugs with `clustering_coef`, `efficiency`, `distance` | ||
|
||
For the next release, I clearly need a real test suite. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters