Commit Graph

92 Commits

Author SHA1 Message Date
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 c12e6c3f2f version 0.2.2 2014-03-27 15:36:43 +02: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 7148d3b0d5 bugfix: always return a list from find_near_matches() 2014-03-19 23:45:17 +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 10815b726b fixed the test suite location in setup.py 2014-03-15 21:04:03 +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 fa5c9c591f minor code cleanup 2014-03-14 12:41:38 +02:00
Tal Einat b1062bb8e9 simplify and add assertion in GroupOfMatches 2014-03-14 12:41:05 +02:00
Tal Einat 5d6ee30f46 removed commented-out debug prints 2014-03-14 12:40:08 +02:00
Tal Einat 56353946a5 fixed duplicate match grouping in find_near_matches() 2014-03-14 12:39:32 +02:00
Tal Einat a098e33697 bugfix: fixed bug in common.group_matches() 2014-03-14 12:38:47 +02:00
Tal Einat 892533846c bumped version to 0.2.0 2014-03-12 16:00:46 +02:00
Tal Einat 3bea01e281 additional documentation improvements (mostly examples) 2014-03-12 15:59:37 +02:00
Tal Einat e5be9e241f revert minor change to tox.ini to get Travis-CI working again 2014-03-12 15:56:56 +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 7e92bf11be fixed wrong date used in HISTORY 2013-11-12 16:22:27 +02:00
Tal Einat a78274da0b py31 not supported by Travis, so removed it from .travis.yml 2013-11-12 16:12:54 +02:00
Tal Einat 3018e8f08e added .travis.yml to run tox tests 2013-11-12 16:05:48 +02:00
Tal Einat 3a2e9f224d bumped version and updated docs 2013-11-12 10:58:41 +02:00
Tal Einat 64dfbe8214 fixed module import 2013-11-12 10:56:01 +02:00
Tal Einat 758a699a1a minor bug fix in _expand() to avoid comparing int to None 2013-11-12 10:37:00 +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 08974f39bb fixed the group_matches() function 2013-11-12 10:04:24 +02:00
Tal Einat 04f7c47370 removed a piece of unused code 2013-11-09 22:56: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 709a9ac85a added comments in find_near_matches 2013-11-04 10:36:07 +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
taleinat cda5a66633 Initial commit 2013-11-01 15:12:11 -07:00