pyfamsa
pyfamsa copied to clipboard
TypeError when trying to initialise Alignment object using positional argument.
Hello,
I'm attempting to run a profile alignment using two sub alignments stored as string in memory. In order to do so I am initialising a new Alignment object using an iterable of GappedSequence objects. This is resulting in a TypeError crash. It is easily repeatable by following the example in the docs `
from pyfamsa import * s1 = GappedSequence(b"seq1", b"MA-WMRLLPL") s2 = GappedSequence(b"seq2", b"MALWTR-RPL") alignment = Alignment([s1, s2]) ` Traceback (most recent call last): File "
", line 1, in TypeError: init() takes exactly 0 positional arguments (1 given)
Regards, Ashton