From 9fa84cc8723d46b8c2d579095bc3875c7d6ee7d6 Mon Sep 17 00:00:00 2001 From: AdityaBITMESRA Date: Thu, 8 Aug 2024 19:30:38 +0530 Subject: [PATCH] removed component_factory --- pyneuroml/swc/ExportNML.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyneuroml/swc/ExportNML.py b/pyneuroml/swc/ExportNML.py index 27a97971..f118022a 100644 --- a/pyneuroml/swc/ExportNML.py +++ b/pyneuroml/swc/ExportNML.py @@ -83,9 +83,7 @@ def create_cell(self, validate: bool = True) -> Cell: notes: str = f"Neuronal morphology exported from Python Based Converter. Original file: {self.morphology_origin}" - self.cell = component_factory( - "Cell", id=cell_name, notes=notes, validate=validate - ) + self.cell = Cell(id=cell_name, notes=notes) # Create an empty Morphology object self.cell.morphology = Morphology(id=f"morphology_{cell_name}")