Skip to content

Commit

Permalink
Restored previous get best match
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed Oct 31, 2020
1 parent 0642d2a commit af1e555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barplots/utils/get_best_match.py
Expand Up @@ -6,7 +6,7 @@ def get_best_match(mapping, index):
key: (re.compile(key),) if isinstance(key, str) else [
re.compile(k) for k in key
]
for key in str(mapping)
for key in mapping
}
if not isinstance(index, tuple):
index = (index,)
Expand Down

0 comments on commit af1e555

Please sign in to comment.