Open parham-k opened 2 years ago
It looks like SWIG is trying to call the constructor that accepts vector of SpacedSeed, which is a vector of unsigned.
On this line: https://github.com/bcgsc/btllib/blob/master/wrappers/extra_common.i#L88 The SeedNtHash constructor is ignored, so perhaps try playing around with removing lines that ignore constructors. I vaguely remember adding those to remove warnings.
Python wrapper tests on branch
python-wrapper-tests
are failing due to a TypeError when passing a list of strings in Python to astd::vector<std::string>
parameter in C++. For example, instantiating aSeedNtHash
withbtllib.SeedNtHash("AGCTCAGATC", ["11011"], 1, len(seed[0]))
raises:Maybe SWIG is not aware of a vector-of-strings type, in spite of having
%template(VectorString) std::vector<std::string>;
,%include <std_vector.i>
, and%include <stl.i>
inbtllib.i
andextra_common.i
.