添加注释

This commit is contained in:
Your Name
2024-12-11 21:25:20 +08:00
parent e8b93c7ac9
commit 4426e7ca88
4 changed files with 74 additions and 41 deletions

View File

@@ -15,8 +15,8 @@ def fetshot():
length = 30
nfold = 5
f1 = open(r"functionsite.txt", "r")
f2 = open(r"POS.txt", "r")
f1 = open(r"demo/functionsite", "r")
f2 = open(r"demo/POS.txt", "r")
funcinf = set()
for line in f1.readlines():
site = line.strip()
@@ -45,7 +45,7 @@ def fetshot():
print(len(neg))
AAscores, l_aas, weight_coef, AAs = \
WeightAndMatrix("traningout_best.txt")
WeightAndMatrix("demo/traningout_best.txt")
l_scores, l_type, peps = getMMScoreType(pos, new_neg, AAscores, weight_coef, l_aas, AAs, length)
raw_scores = []
for i in range(len(l_scores)):