Skip to content

Commit

Permalink
py fix
Browse files Browse the repository at this point in the history
  • Loading branch information
even1024 committed Dec 26, 2023
1 parent eac0055 commit b35dede
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api/tests/integration/tests/formats/seq_to_ket.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ def find_diff(a, b):
ref_path = joinPathPy("ref/", __file__)

seq_tests = [
{"seq_type": "PEPTIDE", "seq_data": "ACDEFGHIKLMNOPQRSRUVWY", "ref": "all_aminoacids"},
{
"seq_type": "PEPTIDE",
"seq_data": "ACDEFGHIKLMNOPQRSRUVWY",
"ref": "all_aminoacids",
},
{"seq_type": "RNA", "seq_data": "ACGTU", "ref": "rna_acgtu"},
{"seq_type": "DNA", "seq_data": "ACGTU", "ref": "dna_acgtu"},
]

for seq in seq_tests:
mol = indigo.loadSequence( seq["seq_data"], seq["seq_type"] )
mol = indigo.loadSequence(seq["seq_data"], seq["seq_type"])
filename = seq["ref"]
# with open(os.path.join(ref_path, filename) + ".ket", "w") as file:
# file.write(mol.json())
Expand Down

0 comments on commit b35dede

Please sign in to comment.