You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for bringing this up and sorry for the inconvenience you were experiencing.
The UnboundLocalError usually comes from the fact that there are peptides not of length 9 or 10, because as you can see from the function peptide_data_aaindex, if the length doesn't fit into 9 or 10, no encode will be defined, so when later executing reshape function, it will throw an error.
But you said replacing the code solves your problem, which I can not intuit an explanation off hand, because if there are peptides of other lengths, the same issue should persist. But Maybe I missed something here.
Would you mind first checking the peptide length in your input? And happy to help further!
hi~
running deepimmuno-cnn on mode "multiple" returns this error:
which can be traced back to line 156 of
deepimmuno-cnn.py
when runningpeptide_data_aaindex
- specifically when running:replacing the function
peptide_data_aaindex
in place solved the issue for me - so instead of running the line above I run instead:not sure whether anyone else can replicate this error, but am raising the issue in case this is actually a bug.
thanks for building this tool!
cheers,
Leda
The text was updated successfully, but these errors were encountered: