BICCN / cell-locator

manually align specimens to annotated 3D spaces
https://cell-locator.readthedocs.io
Other
19 stars 7 forks source link

Polyline annotation loaded as Spline #184

Closed wbwakeman closed 3 years ago

wbwakeman commented 3 years ago

Environment

Windows 10

Description In evaluating the tool, one of our scientists noticed that she loads a polyline annotation file, expecting it to be a square, but it is a circle. It seems like if you reload a polyline annotation without closing the program, then it loads as a spline. I wonder if this is related to #179 .

Expected behavior Saved polyline annotations load as polyline - not spline

How to Reproduce

  1. Open CellLocator 0.1.0-2021-05-21 (select CCF atlas)
  2. Create "square" polyline annotation using four points
  3. Save
  4. Close Cell Locator
  5. Open CellLocator 0.1.0-2021-05-21 (select CCF atlas)
  6. Load annotation that was saved
  7. Load annotation again (important - this is the step that illustrates the issue)

Expected: The saved annotation will be a polyline

Actual: The saved annotation is a spline

image