Commit 574eff06 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix external csv file arg for identifiers_mapping()

parent 395803f8
......@@ -565,7 +565,7 @@ def identifiers_mapping(model_file, *args, **kwargs):
:type external_file: <str>
:type external_identifiers: <list>
if kwargs['external_csv_file']:
if kwargs.get('external_file', None):
with open(kwargs['external_file'], 'r') as f_d:
external_identifiers = set(line.strip('\n') for line in f_d)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment