Closed allaway closed 6 days ago
@allaway is this still an issue and how urgent is this fix if it is?
Yes, this is still an issue, but I don't think it's that urgent: Most (all?) of the time I've run into this, it's been caused by #402, so resolution of that would fix this (at least, it would fix where it's obvious, but I think this still might be a good QoL improvement).
Describe the bug When updating an annotation, if the new annotation is of a different type than the one currently on Synapse, synapseclient throws an error that causes the app to crash. I am posting this here because I assume it should be addressed at the
schematic
level, rather than just improved error handling in the shiny app.I think this could be an issue in scenarios such as:
DOUBLE
,INTEGER
, orCHARACTER
.To Reproduce Steps to reproduce the behavior:
nan
to be stored as type DOUBLE on synapse), as well as with an integer value (stored as type INTEGER on synapse).Expected behavior I would expect error handling for this error, or preferably, the opportunity to overwrite the existing annotation on synapse.
Screenshots sample error log on attempted annotation type change where initial value was
nan
, synapse interprets as double:Desktop (if applicable, please complete the following information): n/a
Additional context Add any other context about the problem here.