Skip to content

Commit

Permalink
removed component_factory
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaPandeyCN committed Aug 8, 2024
1 parent f46f933 commit 9fa84cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyneuroml/swc/ExportNML.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 9fa84cc

Please sign in to comment.