View Revisions: Issue #4414

Summary 0004414: Problem with copying markup fiducial list (unexpected behavior on 2D views)
Revision 2018-12-12 14:37 by lassoan
Steps To Reproduce
  1. Create a fiducial list with some markups and save it to a file called F2.fcsv
  2. Close the previous scene and on an empty mrml scene create an empty fiducial list and keep the default name F.

Our goal is to load F2 from the file, copy its contents to F and then delete F2.

  1. on Python interactor paste the following code (todo: change the F2 path to the correct path):
scene = slicer.mrmlScene
_,node2 = slicer.util.loadMarkupsFiducialList('/path/to/list/F2.fcsv',True)
node1 = getNode('F')
node1.Copy(node2)
scene.RemoveNode(node2)
  1. To scroll through 2d slices, open MRHead from Sample Data and see the behavior of markups on Red view. The points will be visible on all slices on Red view when you scroll the brain.
    Sometimes the points are not visible on the Red view at all.
Revision 2017-08-15 12:48 by mehrtash
Steps To Reproduce
  1. Create a fiducial list with some markups and save it to a file called F2.fcsv
  2. Close the previous scene and on an empty mrml scene create an empty fiducial list and keep the default name F.

Our goal is to load F2 from the file, copy its contents to F and then delete F2.

  1. on Python interactor paste the following code (todo: change the F2 path to the correct path):
    scene = slicer.mrmlScene
    _,node2 = slicer.util.loadMarkupsFiducialList('/path/to/list/F2.fcsv',True)
    node1 = getNode('F')
    node1.Copy(node2)
    scene.RemoveNode(node2)

  2. To scroll through 2d slices, open MRHead from Sample Data and see the behavior of markups on Red view. The points will be visible on all slices on Red view when you scroll the brain.
    Sometimes the points are not visible on the Red view at all.
Revision 2017-08-15 12:46 by mehrtash
Steps To Reproduce
  1. Create a fiducial list with some markups and save it to a file called F2.fcsv
  2. Close the previous scene and on an empty mrml scene create an empty fiducial list and keep the default name F.
    Our goal is to load F2 from the file, copy its contents to F and then delete F2.
  3. on Python interactor paste the following code (todo: change the F2 path to the correct path):
    scene = slicer.mrmlScene
    _,node2 = slicer.util.loadMarkupsFiducialList('/path/to/list/F2.fcsv',True)
    node1 = getNode('F')
    node1.Copy(node2)
    scene.RemoveNode(node2)

  4. To scroll through 2d slices, open MRHead from Sample Data and see the behavior of markups on Red view. The points will be visible on all slices on Red view when you scroll the brain.
    Sometimes the points are not visible on the Red view at all.
Revision 2017-08-15 12:46 by mehrtash
Steps To Reproduce
  1. Create a fiducial list with some markups and save it to a file called F2.fcsv
  2. Close the previous scene and on an empty mrml scene create an empty fiducial list and keep the default name F.
    <Our goal is to load F2 from the file, copy its contents to F and then delete F2.>
  3. on Python interactor paste the following code (todo: change the F2 path to the correct path):
    scene = slicer.mrmlScene
    _,node2 = slicer.util.loadMarkupsFiducialList('/path/to/list/F2.fcsv',True)
    node1 = getNode('F')
    node1.Copy(node2)
    scene.RemoveNode(node2)

  4. To scroll through 2d slices, open MRHead from Sample Data and see the behavior of markups on Red view. The points will be visible on all slices on Red view when you scroll the brain.
    Sometimes the points are not visible on the Red view at all.