This commit is contained in:
XXAY
2021-10-04 22:22:12 +08:00
parent c1edaaab61
commit 21b04b906d
6 changed files with 48 additions and 318 deletions
+3 -2
View File
@@ -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