Commit Graph

42 Commits

Author SHA1 Message Date
Tal Einat e1a7b0cc30 added C implementation of subs-only hnm_byteslike 2014-05-11 02:37:32 +03:00
Tal Einat f48e3e7154 added empty subsequence test to subs-only hnm_byteslike 2014-05-11 02:35:28 +03:00
Tal Einat f71d362807 added fuzzysearch._common.search_exact_byteslike() 2014-05-11 02:32:13 +03:00
Tal Einat 4e7215973e minor test change 2014-05-07 00:22:19 +03:00
Tal Einat 8041de0101 fixed test_double_first_item 2014-05-07 00:21:57 +03:00
Tal Einat 1164d30934 fixed expectedOutcomes() methods 2014-05-07 00:20:59 +03:00
Tal Einat 3ee959ddc2 stop using TestCase.assertListEqual(); use assertEqual() instead 2014-05-06 22:19:56 +03:00
Tal Einat ed765cff2b fixed last failing tests, while beginning test overhaul 2014-05-06 20:51:04 +03:00
Tal Einat 21f4014acc multiple changes in testing, input validation and implementations 2014-04-24 19:37:59 +03:00
Tal Einat 56c9b0ca01 fixed wrapping of the C version of fnm_generic_lp with a try/except block
also prepended "c_" to the function name for clarity and to avoid name clashes
2014-04-20 21:40:15 +03:00
Tal Einat b3aaa0f4a6 skipping a few tests for Ngrams search which fail due to different expected output 2014-04-20 13:28:18 +03:00
Tal Einat 95a22f4a2d improved use and testing of C implementation of substitutions_only_lp 2014-04-20 10:38:06 +03:00
Tal Einat cae324434d added C extensions and changed to single-source code 2014-04-19 01:31:32 +03:00
Tal Einat cec57e693f added common.count_different_items_with_max(seq1, seq2, max_different) 2014-04-15 14:29:42 +03:00
Tal Einat 2a4f028f8d added some tests for has_near_matches_*
Conflicts:
	tests/test_generic_search.py
	tests/test_substitutions_only.py
2014-04-12 19:07:22 +03:00
Tal Einat 183b045645 fixed typo in module name 2014-04-12 18:20:10 +03:00
Tal Einat 196c7766ea replaced assertEquals to assertEqual to avoid deprecation warnings 2014-04-12 18:09:00 +03:00
Tal Einat a24d3f7739 nailed down automated testing and deployment, and fixed test_generic_search_cython 2014-04-12 13:10:52 +03:00
Tal Einat dccf4a47c6 added C implementation of has_near_matches_substitutions_only 2014-04-12 13:10:34 +03:00
Tal Einat 2863b57236 first working Cython version of generic search 2014-03-28 10:49:21 +03:00
Tal Einat 8ba0cc8dc3 got tox to run 2to3 on tests before running them with Python 3.x 2014-03-28 10:48:17 +03:00
Tal Einat aea33df10e added support for searching Biopython Seq objects
also added some tests for search_exact
2014-03-27 15:31:20 +02:00
Tal Einat ef4168edcc fixed test for Levenshtein search 2014-03-27 15:30:06 +02:00
Tal Einat 77e2de7cd0 fixed cross-version support of test using str.format 2014-03-27 15:29:26 +02:00
Tal Einat 777ce2f39c added tests for find_near_matches and achieved 100% coverage 2014-03-20 18:50:33 +02:00
Tal Einat 08655a4c3f added tests for levenshtein._expand() and changed test code to assertEqual(actual, expected) convention 2014-03-20 14:50:53 +02:00
Tal Einat 3b84e6e5fb bugfix: generic search would raise an exception on certain input values 2014-03-19 23:50:33 +02:00
Tal Einat 39000bda80 bugfix: generic search wasn't finding matches ending with a sub 2014-03-19 23:46:34 +02:00
Tal Einat 26f927dbec added fuzzy search allowing insertions and substitutions but no deletions 2014-03-17 17:07:59 +02:00
Tal Einat c6930e2712 added finding near matches with only substitutions
also added a super-generic find_near_matches() utility function
2014-03-15 19:36:13 +02:00
Tal Einat 6b91b654f1 fixed two edge-case bugs in custom search
also removed some commented out code
2014-03-14 17:13:42 +02:00
Tal Einat af89a6681b avoid using TestCase.assertItemsEqual()
The reason is that it is not avialable in the stdlib's unittest.
2014-03-14 13:06:12 +02:00
Tal Einat 77fe129c50 bumped version to 0.2.1 and updated HISTORY 2014-03-14 12:49:47 +02:00
Tal Einat a098e33697 bugfix: fixed bug in common.group_matches() 2014-03-14 12:38:47 +02:00
Tal Einat 1c4bed7c0a added utility function with tests + some documentation 2014-03-12 15:46:48 +02:00
Tal Einat b79a856b63 split into several files and renamed some functions 2014-03-12 12:00:21 +02:00
Tal Einat 881ff4c0bc fixed one test and two bugs in find_near_matches()
all tests passing!
2013-11-12 10:18:42 +02:00
Tal Einat 932ac1b519 handle edge-case at end of sequence (plus test) 2013-11-09 22:56:13 +02:00
Tal Einat a2f10110bc improved result filtering and refactored tests 2013-11-09 21:47:57 +02:00
Tal Einat cf5bbd6269 added new search function find_near_matches_with_ngrams() 2013-11-07 15:18:13 +02:00
Tal Einat d86dfdc091 added first working version of find_near_matches, with tests 2013-11-04 10:25:07 +02:00
Tal Einat a7b4701efa initial commit (project framework) 2013-11-02 00:34:18 +02:00