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
The Pipy version of the code yields some coding errors in the python script (algpred2.py), when the input sequence is just one, that I managed to fix with the following replacements. Please feel free to use them as you want.
Line 65: np.loadtxt(file_name, delimiter=',')
np.loadtxt(file_name, delimiter=',', ndmin=2)
Thanks
With regards and best wishes
Raghava
# ======================================================== #
# Prof. Gajendra P. S. Raghava, Department of Computational Biology, #
# Indraprastha Institute of Information Technology (IIIT), Okhla Phase III, #
# New Delhi 110020 ; Phone:+91-11-26907444 #
# ======================================================== #
PS: Former Chief Scientist, CSIR-Institute of Microbial Technology, Chandigarh
Web: http://webs.iiitd.edu.in/raghava/
GS: https://scholar.google.co.in/citations?user=XK5GUiYAAAAJ
On 23 Dec 2024, at 19:03, Daniel Del Hoyo Gomez ***@***.***> wrote:
The Pipy version of the code yields some coding errors in the python script (algpred2.py) that I managed to fix with the following replacements. Please feel free to use them as you want.
Line 66: X_test = data_test
X_test = data_test.reshape(1, -1)
Line 160: df3 = df3.concat(df2.loc[df2.Subject==i][0:5], axis=1).reset_index(drop=True)
df3 = pd.concat([df3, df2.loc[df2.Subject==i][0:5]], axis=1).reset_index(drop=True)
There are probably other ways to fix it, I have seen other software of yours that have similar codes but that actually work.
Best wishes.
—
Reply to this email directly, view it on GitHub <#3>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHNUVZIEFSZDNYS7ON22EKT2HAGKTAVCNFSM6AAAAABUDCOJ6KVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TMMBYGQ3DSNY>.
You are receiving this because you are subscribed to this thread.
The Pipy version of the code yields some coding errors in the python script (algpred2.py), when the input sequence is just one, that I managed to fix with the following replacements. Please feel free to use them as you want.
Line 65: np.loadtxt(file_name, delimiter=',')
np.loadtxt(file_name, delimiter=',', ndmin=2)
Line 160: df3 = df3.concat(df2.loc[df2.Subject==i][0:5], axis=1).reset_index(drop=True)
df3 = pd.concat([df3, df2.loc[df2.Subject==i][0:5]], axis=1).reset_index(drop=True)
There are probably other ways to fix it, I have seen other software of yours that have similar codes but that actually work.
Best wishes.
The text was updated successfully, but these errors were encountered: