From 1f9b0cab8e01b36ea8fb87f7a399830300e83f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Mon, 4 Sep 2023 10:34:42 +0200 Subject: [PATCH] lint fix Change-Id: I17951cd6da82c7fee13e5d8c2d8e9868b4e214fb --- bluepyemodel/export_emodel/export_emodel.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bluepyemodel/export_emodel/export_emodel.py b/bluepyemodel/export_emodel/export_emodel.py index 284fb5a8..47278bb0 100644 --- a/bluepyemodel/export_emodel/export_emodel.py +++ b/bluepyemodel/export_emodel/export_emodel.py @@ -67,7 +67,9 @@ def _write_node_file(emodel, model_template_path, node_file_path, morphology_pat dynamics_params["threshold_current"] = emodel.responses["bpo_threshold_current"] -def _write_hoc_file(cell_model, emodel, hoc_file_path, template="cell_template_neurodamus_sbo.jinja2"): +def _write_hoc_file( + cell_model, emodel, hoc_file_path, template="cell_template_neurodamus_sbo.jinja2" + ): """Creates a hoc file containing the emodel and its morphology. WARNING: this assumes that any morphology modifier has been informed as both a python method and a hoc method""" @@ -105,7 +107,9 @@ def _export_model_sonata(cell_model, emodel, output_dir=None): shutil.copyfile(cell_model.morphology.morphology_path, morphology_path) # Exports the BluePyOpt cell model as a hoc file - _write_hoc_file(cell_model, emodel, hoc_file_path, template="cell_template_neurodamus_sbo.jinja2") + _write_hoc_file( + cell_model, emodel, hoc_file_path, template="cell_template_neurodamus_sbo.jinja2" + ) # Create the SONATA node file _write_node_file(