Skip to content

Replacing an existing XML plugin snippet does not comment out the ending </plugin> tag #66

Description

@bartjuw

Describe the bug
In Twedit+, replacing an existing XML plugin snippet using the 'CC3dML -> Plugins -> plugin name' incompletely comments out the existing plugin code.

To Reproduce
Steps to reproduce the behavior:

  1. Open up Twedit+ and a simulation project xml file that contains the CellType plugin. See figure
  <!-- Listing all cell types in the simulation -->
  <CellType TypeId="0" TypeName="Medium"/>
  <CellType TypeId="1" TypeName="aa"/>
  <CellType TypeId="2" TypeName="bb"/>
3. Click on a space in between a plugin for inserting a replacement snippet. 4. Go to 'CC3DML -> Plugins -> CellType and use 'comment out and add' option 5. Result (see figure : Last two lines of xml code are not commented out (Github MD may clubber this);
  
  <!-- &lt;!&ndash; Listing all cell types in the simulation &ndash;&gt;  -->
  <!-- <CellType TypeId="0" TypeName="Medium"/> -->
  <!-- <CellType TypeId="1" TypeName="aa"/> -->

Attach Simulation Code

Ideally we would like to to ask you to attach minimal version of the simulation that reproduces the bug - please use zip format Twedit++ can zip your project for you.
Important: the simulation code you attach can be seen by everybody so make sure you share only the code that you are comfortable sharing. If you want to discuss the issue with members of our team please reach ot to us directly or say that the bug you are reporting can only be reproduced in your production code. We will work with you individually.

Expected behavior

Original cellType plugin xml is commented out fully.

Screenshots

Image Image

Desktop(please complete the following information):

  • Device: Mac Air M1
  • Processor M1
  • OS: MacOS 26.2
  • CompuCell3D Version and commit tag : [e.g. 4.8.0, ]
  • How did you install the code : directly via conda,

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions