Skip to content
Snippets Groups Projects
Commit 4a9b397a authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

fix

parent 333cfb38
No related branches found
No related tags found
No related merge requests found
...@@ -118,7 +118,8 @@ def run(): ...@@ -118,7 +118,8 @@ def run():
prediction_df.index, allele prediction_df.index, allele
] ]
df.loc[sub_df.index, name] = prediction_df.max(1, skipna=False).values df.loc[sub_df.index, name] = prediction_df.max(1, skipna=False).values
df.loc[sub_df.index, name + " allele"] = prediction_df.idxmax(1, skipna=False).values df.loc[sub_df.index, name + "_best_allele"] = prediction_df.idxmax(
1, skipna=False).values
if 'netmhcpan4.ba' in args.predictors: if 'netmhcpan4.ba' in args.predictors:
# unflip the values # unflip the values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment