You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner. It is now read-only.
Tested with the publication of ID 10.1523/JNEUROSCI.2740-15.2015.
Case 1: Annotation with at least two parameters.
Steps:
Click on a parameter which isn't the latest in the 'Existing parameters' panel.
Click on the button 'Delete'.
Incorrect behaviours:
a) The panels 'Parameter details' and 'Required tag categories' display the data from the parameter which was following in the list the one deleted.
b) If the button 'Save' is clicked, a partial* copy of the parameter which was following in the list the one deleted is added.
* Required tags are not copied, their default values are used.
Stack trace:
None
Case 2: Annotation with only one parameter.
Click on the parameter.
Click on the button 'Delete'.
The following exception is thrown.
Stack trace:
Traceback (most recent call last):
File "/Users/fonta/repos/neurocurator/neurocurator/modParamWidgets.py", line 356, in deleteParameter
self.refreshModelingParameters()
File "/Users/fonta/repos/neurocurator/neurocurator/modParamWidgets.py", line 361, in refreshModelingParameters
self.loadModelingParameter(selectedRow)
File "/Users/fonta/repos/neurocurator/neurocurator/modParamWidgets.py", line 392, in loadModelingParameter
self.paramModStack.currentWidget().loadModelingParameter(row)
File "/Users/fonta/repos/neurocurator/neurocurator/paramValueWgt.py", line 113, in loadModelingParameter
self.loadRow(self._parent.currentAnnotation.parameters[row])
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Tested with the publication of ID 10.1523/JNEUROSCI.2740-15.2015.
Case 1: Annotation with at least two parameters.
Steps:
a) The panels 'Parameter details' and 'Required tag categories' display the data from the parameter which was following in the list the one deleted.
b) If the button 'Save' is clicked, a partial* copy of the parameter which was following in the list the one deleted is added.
* Required tags are not copied, their default values are used.
Stack trace:
Case 2: Annotation with only one parameter.
Stack trace:
The text was updated successfully, but these errors were encountered: