Skip to content
This repository has been archived by the owner. It is now read-only.

[Annotations] Entering a comment for an annotation saves the annotation at each character #90

Open
pafonta opened this issue Jul 19, 2018 · 0 comments
Assignees
Labels
Milestone

Comments

@pafonta
Copy link
Contributor

pafonta commented Jul 19, 2018

Steps:

  1. Create a new annotation.
  2. Enter a character in 'Comment'.
  3. The annotation is saved.

For an annotation of type 'text':
The dialog Before saving changes to this annotation, you must enter an "Annotated text" and then localize it. appears.

For an annotation of type 'position':
NeuroCurator crashes (v0.4.4 but not v0.4.3 even if the exception is the same) with:

Traceback (most recent call last):
  File "/Users/fonta/repos/neurocurator/neurocurator/annotWidgets.py", line 201, in savingNeeded
    self.updateCurrentAnnotation()
  File "/Users/fonta/repos/neurocurator/neurocurator/annotWidgets.py", line 210, in updateCurrentAnnotation
    self.editAnnotWgt[self.annotationTypesCbo.currentText()].updateCurrentAnnotation()
  File "/Users/fonta/repos/neurocurator/neurocurator/annotWidgets.py", line 533, in updateCurrentAnnotation
    self.container.currentAnnotation.localizer = PositionLocalizer(int(self.noPageTxt.text()), float(self.xTxt.text()), 
ValueError: invalid literal for int() with base 10: ''
@pafonta pafonta added the bug label Jul 19, 2018
@pafonta pafonta self-assigned this Jul 19, 2018
@pafonta pafonta added this to the v0.5.0 milestone Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant