Skip to content

Commit

Permalink
refactor: corrected name of new option
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Dec 15, 2021
1 parent 575054e commit f0cf70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biosimulators_utils/model_lang/lems/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def validate_model(filename, name=None, config=None):
neuroml2_core_type_members = (name for name in jar_file.namelist() if name.startswith('NeuroML2CoreTypes/'))
jar_file.extractall(core_types_dir, members=neuroml2_core_type_members)

model = Model(include_includes=True, fail_on_missing_includes=config.VALIDATE_NEUROML_INCLUDES)
model = Model(include_includes=True, fail_on_missing_includes=config.VALIDATE_IMPORTED_MODEL_FILES)
model.add_include_directory(os.path.join(core_types_dir, 'NeuroML2CoreTypes'))
model.import_from_file(filename)
shutil.rmtree(core_types_dir)
Expand Down

0 comments on commit f0cf70e

Please sign in to comment.