Mercurial > repos > bimib > marea_2
changeset 180:0efb675b8dc9 draft
Uploaded
author | francesco_lapi |
---|---|
date | Fri, 26 Jul 2024 15:56:57 +0000 |
parents | 11645e643642 |
children | 8aefca7975d9 |
files | marea_2/marea.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/marea.py Fri Jul 26 15:27:36 2024 +0000 +++ b/marea_2/marea.py Fri Jul 26 15:56:57 2024 +0000 @@ -732,10 +732,9 @@ reactDir = ReactionDirection.fromReactionId(reactId) # Net score is computed only for reversible reactions when user wants it on arrow tips or when RAS datasets aren't used if (ARGS.net or not ARGS.using_RAS) and reactDir is not ReactionDirection.Unknown: - print("sono entrato nell'if e non ho superato il try") try: position = ids.index(reactId[:-1] + ('B' if reactDir is ReactionDirection.Direct else 'F')) except ValueError: continue # we look for the complementary id, if not found we skip - print("sono entrato nell'if e ho superato il try") + nets1 = np.subtract(l1, dataset1Data[position]) nets2 = np.subtract(l2, dataset2Data[position])