Skip to content

Commit

Permalink
Update Epitope.py
Browse files Browse the repository at this point in the history
  • Loading branch information
francescopatane96 authored Oct 10, 2023
1 parent ff4194f commit 08920ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/Epitope.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def epitope(final_proteins, autoimmunity, mouse, antigen, working_dir,
percentile = sorted_scores[percentile_index]

for p, score in zip(final_proteins, protein_scores):
if score >= epitope_percentile:
if score >= percentile:
# create a dir for every protein
new_dir_path = working_dir+'{}/'.format(p.accession)
if os.path.isfile(new_dir_path):
Expand Down

0 comments on commit 08920ce

Please sign in to comment.