From 5a8f4f3c85be4645c9a918bc25397170f4370341 Mon Sep 17 00:00:00 2001 From: Muriithi Frederick Muriuki Date: Tue, 20 Jul 2021 14:13:21 +0300 Subject: Add test for code to move over from GN1 Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * .gitignore: ignore emacs temporary files * gn3/computations/correlations2.py: add a dummy function * tests/unit/computations/test_correlation.py: add unit tests for the function As part of the move of the clustering and heatmap code over from GN1 to GN3, this commit begins by providing some unit tests for the correlation function used to ensure that the implementation that is built up here corresponds, and produces the same results as the original. This tests and the function might change in the new system, but for now, we try and maintain bug-to-bug compatibility. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 5b9ff95..c5cf3e2 100644 --- a/.gitignore +++ b/.gitignore @@ -179,3 +179,6 @@ dmypy.json # Pyre type checker .pyre/ + +# emacs temporary files +/**/*~ \ No newline at end of file -- cgit v1.2.3