Skip to content

Commit

Permalink
fix indexing error when uncertain CM model
Browse files Browse the repository at this point in the history
  • Loading branch information
SchwarzMarek committed Jul 23, 2019
1 parent 8e28b48 commit 74f215b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rna_blast_analyze/BR_core/cmalign.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,8 @@ def select_best_matching_model_from_cmscan(cmscan_data):
ml.warning(
'The CM with best E-val ({}) is not the same as the CM with best score ({}).'
' Returning as unknown model.'.format(
cmscan_data[ei]['target_name'],
cmscan_data[si]['target_name']
cmscan_data.loc[ei]['target_name'],
cmscan_data.loc[si]['target_name']
)
)
return None
Expand Down

0 comments on commit 74f215b

Please sign in to comment.