From 7623f4a779ddc616bbcc36c63e2175c2fa897c3e Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Fri, 8 Nov 2024 16:08:42 +0000 Subject: [PATCH] fix: correct method argument --- neuroml/nml/helper_methods.py | 2 +- neuroml/nml/nml.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/neuroml/nml/helper_methods.py b/neuroml/nml/helper_methods.py index b1bfdb4..595062b 100644 --- a/neuroml/nml/helper_methods.py +++ b/neuroml/nml/helper_methods.py @@ -1360,7 +1360,7 @@ def morphinfo(self, segment_detail=False, string_buffer=None): if segment_detail: print(file=string_buffer) for sg in self.morphology.segment_groups: - self.get_segment_group_info(sg.id, file=string_buffer) + self.get_segment_group_info(sg.id, string_buffer=string_buffer) else: print(file=string_buffer) for sg in self.morphology.segment_groups: diff --git a/neuroml/nml/nml.py b/neuroml/nml/nml.py index c5d1f85..470c74f 100644 --- a/neuroml/nml/nml.py +++ b/neuroml/nml/nml.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # -# Generated Fri Nov 8 15:15:22 2024 by generateDS.py version 2.44.1. +# Generated Fri Nov 8 16:07:39 2024 by generateDS.py version 2.44.1. # Python 3.11.10 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] # # Command line options: @@ -48928,7 +48928,7 @@ def morphinfo(self, segment_detail=False, string_buffer=None): if segment_detail: print(file=string_buffer) for sg in self.morphology.segment_groups: - self.get_segment_group_info(sg.id, file=string_buffer) + self.get_segment_group_info(sg.id, string_buffer=string_buffer) else: print(file=string_buffer) for sg in self.morphology.segment_groups: