tools
This commit is contained in:
+3
-2
@@ -459,8 +459,9 @@ class Basics(object):
|
||||
# self.out_file.append({"Reverse_complementarity": temp})
|
||||
|
||||
def run(self):
|
||||
print(self.args)
|
||||
for i in self.args.keys():
|
||||
if self.args[i] == "YES":
|
||||
if self.args[i] == "on":
|
||||
eval(f"self.{self.args[i]}")()
|
||||
|
||||
data = ""
|
||||
@@ -469,7 +470,7 @@ class Basics(object):
|
||||
data += f"\n{'-' * 15}\n{j[0]}\n"
|
||||
data += "\n".join(i[1])
|
||||
|
||||
with open(self.file_path, "w") as f:
|
||||
with open(f"{self.file_path}.txt", "w") as f:
|
||||
f.write(data)
|
||||
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user