Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# andrew wuz here

# gitgoing

[![Build Status](https://travis-ci.org/CodeNeuro/gitgoing.png?branch=master)](https://travis-ci.org/CodeNeuro/gitgoing)
Expand Down
12 changes: 6 additions & 6 deletions tests/test_gitgoing.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ def test_std_plus_one(x_norm):
true_std = np.std(x_norm) + 1
assert test_std == true_std

# def test_cv_broken(x_norm):
# from gitgoing.gitgoing import std_plus_one, mean_plus_one, cv
def test_cv_broken(x_norm):
from gitgoing import std_plus_one, mean_plus_one, cv

# test_cv = cv(x_norm)
# true_cv = std_plus_one(x_norm)/mean_plus_one(x_norm)
test_cv = cv(x_norm)
true_cv = mean_plus_one(x_norm)/std_plus_one(x_norm)

# # This test will fail
# assert test_cv == true_cv
# This test will fail
assert test_cv == true_cv

@pytest.fixture(params=['soma', 'axon', 'synapse', 'dendrite',
pytest.mark.xfail('fibroblast')])
Expand Down