Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code fix pip #3

Open
DaniDelHoyo opened this issue Dec 23, 2024 · 1 comment
Open

Code fix pip #3

DaniDelHoyo opened this issue Dec 23, 2024 · 1 comment

Comments

@DaniDelHoyo
Copy link

DaniDelHoyo commented Dec 23, 2024

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.

@raghavagps
Copy link
Owner

raghavagps commented Dec 23, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants