Skip to content

Commit

Permalink
Merge pull request #127 from clami66/fix_rna
Browse files Browse the repository at this point in the history
Fix issue in complexes with RNA structures
  • Loading branch information
r-krishna authored Jun 13, 2024
2 parents bf21483 + a7afaf0 commit c1fd924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rf2aa/data/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def parse_multichain_fasta(filename, maxseq=10000, rna_alphabet=False, dna_alph

# convert letters into numbers
if rna_alphabet:
alphabet = np.array(list("00000000000000000000-000000ACGTN"), dtype='|S1').view(np.uint8)
alphabet = np.array(list("00000000000000000000-000000ACGUN"), dtype='|S1').view(np.uint8)
elif dna_alphabet:
alphabet = np.array(list("00000000000000000000-0ACGTD00000"), dtype='|S1').view(np.uint8)
else:
Expand Down

0 comments on commit c1fd924

Please sign in to comment.