We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b991a3b commit 1052cabCopy full SHA for 1052cab
Scripts/xbbtools/xbb_blastbg.py
@@ -15,9 +15,8 @@
15
import os
16
import tempfile
17
import threading
18
-import subprocess
19
20
-from tkinter import messagebox
+from tkinter import Tk, messagebox
21
22
from Bio.Blast.Applications import (
23
NcbiblastnCommandline,
@@ -140,6 +139,9 @@ def run(self):
140
139
141
142
if __name__ == "__main__":
143
- subprocess.call(
144
- ["python", "xbb_blast.py", "ATGACAAAGCTAATTATTCACTTGGTTTCAGACTCTTCTGTGCAAACTGC"]
145
- )
+ from xbb_blast import BlastIt
+
+ win = Tk()
+ win.title("Dummy windows for BLAST test")
146
+ test = BlastIt("ATGACAAAGCTAATTATTCACTTGGTTTCAGACTCTTCTGTGCAAACTGC")
147
+ win.mainloop()
0 commit comments