Skip to content

Code fix pip #3

@DaniDelHoyo

Description

@DaniDelHoyo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions