althonos / althonos/pyfamsa

TypeError when trying to initialise Alignment object using positional argument.

Aperta
#6 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.