From 0386b5872e0775ae16636f491346a26a04a71b13 Mon Sep 17 00:00:00 2001 From: Pooja Babu Date: Wed, 18 Dec 2024 18:27:11 +0100 Subject: [PATCH] Fix pycodestyle errors --- pynestml/codegeneration/nest_code_generator.py | 4 ++-- pynestml/codegeneration/nest_compartmental_code_generator.py | 4 ++-- pynestml/codegeneration/spinnaker_code_generator.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pynestml/codegeneration/nest_code_generator.py b/pynestml/codegeneration/nest_code_generator.py index ff3a00fd1..aa2d68f73 100644 --- a/pynestml/codegeneration/nest_code_generator.py +++ b/pynestml/codegeneration/nest_code_generator.py @@ -234,8 +234,8 @@ def setup_printers(self): self._gsl_function_call_printer = NESTGSLFunctionCallPrinter(None) self._gsl_printer = CppExpressionPrinter(simple_expression_printer=CppSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer, - constant_printer=self._constant_printer, - function_call_printer=self._gsl_function_call_printer)) + constant_printer=self._constant_printer, + function_call_printer=self._gsl_function_call_printer)) self._gsl_function_call_printer._expression_printer = self._gsl_printer # ODE-toolbox printers diff --git a/pynestml/codegeneration/nest_compartmental_code_generator.py b/pynestml/codegeneration/nest_compartmental_code_generator.py index 5d2cdb4f7..179f3062e 100644 --- a/pynestml/codegeneration/nest_compartmental_code_generator.py +++ b/pynestml/codegeneration/nest_compartmental_code_generator.py @@ -172,8 +172,8 @@ def setup_printers(self): self._gsl_printer = CppExpressionPrinter( simple_expression_printer=CppSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer, - constant_printer=self._constant_printer, - function_call_printer=self._gsl_function_call_printer)) + constant_printer=self._constant_printer, + function_call_printer=self._gsl_function_call_printer)) self._gsl_function_call_printer._expression_printer = self._gsl_printer # ODE-toolbox printers diff --git a/pynestml/codegeneration/spinnaker_code_generator.py b/pynestml/codegeneration/spinnaker_code_generator.py index 9877375ab..ba47f8c14 100644 --- a/pynestml/codegeneration/spinnaker_code_generator.py +++ b/pynestml/codegeneration/spinnaker_code_generator.py @@ -85,8 +85,8 @@ def setup_printers(self): self._gsl_printer = CppExpressionPrinter( simple_expression_printer=CSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer, - constant_printer=self._constant_printer, - function_call_printer=self._gsl_function_call_printer)) + constant_printer=self._constant_printer, + function_call_printer=self._gsl_function_call_printer)) self._gsl_function_call_printer._expression_printer = self._gsl_printer # ODE-toolbox printers