TypeError when trying to initialise Alignment object using positional argument.
- Lingua principale
- Cython
- Stelle
- 46
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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](https://pyfamsa.readthedocs.io/en/stable/api/alignment.html)
`
>>> 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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.