MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

Refactor the code to make it easy for testing #213

Closed Habush closed 4 years ago

Habush commented 4 years ago

This PR moves out the fiber channels argument from the pattern matcher search functions to the outer annotation functions to make easy to test those functions. Also makes the parser testable and fixes the parser tests

tanksha commented 4 years ago

Where could this module be located?

https://github.com/Habush/annotation-scheme/blob/master/annotation/util.scm#L28

tanksha commented 4 years ago

@Habush please fix the following

I fixed that, but got another error

ERROR: In procedure string->symbol:
In procedure string->symbol: Wrong type argument in position 1 (expecting string): #f

Please try to run it first

Habush commented 4 years ago

@tanksha Fixed the test issues. Please check