Skip to content

Commit

Permalink
refactor test using atom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mxrcon committed Jan 12, 2021
1 parent b84cab8 commit c158d19
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions blastall_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def lines_number(result_file):
with open(result_file, 'r') as f:
for line in f:
number = number + 1
return str(number)
return str(number)


#def results detector
Expand All @@ -32,10 +32,7 @@ def detect_file(txt):
return [query, db]
#variables
all_files = os.listdir(folder)
query_list_all = []
query_list = []
db_list_all = []
db_list = []
query_list_all,query_list,db_list_all,db_list = [],[],[],[]
#script
for i in all_files:
open(folder+"/"+i)
Expand Down Expand Up @@ -69,7 +66,3 @@ def detect_file(txt):
with open(output,"w+") as F:
F.write(final_file)
F.close()




0 comments on commit c158d19

Please sign in to comment.