Skip to content

Commit

Permalink
Ignore distance_matrix generation during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jni committed Jun 24, 2019
1 parent 9b71509 commit 984f86b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 389 deletions.
300 changes: 0 additions & 300 deletions microscopium/main.py

This file was deleted.

2 changes: 1 addition & 1 deletion setup.cfg
@@ -1,2 +1,2 @@
[tool:pytest]
addopts = --doctest-modules --cov-report term-missing --cov . --ignore notes
addopts = --doctest-modules --cov-report term-missing --cov . --ignore notes --ignore distance_matrix.py
2 changes: 1 addition & 1 deletion tests/distance_matrix.py
Expand Up @@ -17,7 +17,7 @@ def euclidean_distance(a, b):
return sqrt(sum((a-b)**2 for a, b in zip(a, b)))

test_data = pd.read_csv(os.path.join(abspath, 'testdata/data_test.csv'),
index_col=0, converters={0: string2tuple})
index_col=0)

distance_matrix = np.zeros((8, 8))

Expand Down

0 comments on commit 984f86b

Please sign in to comment.