Hello! Thank you for developing python bindings for parasail! I'm very excited to try this out now with the traceback support. I've tried installing parasail using both pip (which still has the import error raised in #13 btw) and from source.
However when I run the following example, an ArgumentError is raised. Any thoughts?
Python 3.6.3 (default, Oct 24 2017, 14:48:20)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import parasail
In [2]: result = parasail.sw_trace("asdf", "asdf", 10, 1, parasail.blosum62)
...: cigar = result.cigar
...:
---------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)
<ipython-input-2-6f6931aad721> in <module>()
1 result = parasail.sw_trace("asdf", "asdf", 10, 1, parasail.blosum62)
----> 2 cigar = result.cigar
~/build/parasail-python/parasail/bindings_v2.py in cigar(self)
276 if 0 == _lib.parasail_result_is_trace(self.pointer):
277 raise AttributeError("'Result' object has no traceback")
--> 278 return Cigar(_lib.parasail_result_get_cigar(self.pointer, self.query, self.len_query, self.ref, self.len_ref, self.matrix))
279
280 class matrix_t(ctypes.Structure):
ArgumentError: argument 2: <class 'TypeError'>: wrong type
Hello! Thank you for developing python bindings for parasail! I'm very excited to try this out now with the traceback support. I've tried installing parasail using both pip (which still has the import error raised in #13 btw) and from source.
However when I run the following example, an ArgumentError is raised. Any thoughts?