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
When using the function set_parm!(db, collection, attribute, element_label, value) providing an attribute that is actually a (sparse) time series, it throws the error
LoadError: Something went wrong. Unknown composite type: PSRClassesInterface.PSRDatabaseSQLite.TimeSeries{Float64}
It would be helpful to receive a more instructive error message, for example guiding the user to use the correct method (update_time_series!).
I noticed from the stack trace that there may be missing handling for TimeSeries in the function _string_for_composite_types.
In addition, I would appreciate having a method where I can pass the collection and the attribute, and it tells me whether it is a scalar attribute or a time series This would help me write better methods for updating elements.
The text was updated successfully, but these errors were encountered:
When using the function
set_parm!(db, collection, attribute, element_label, value)
providing an attribute that is actually a (sparse) time series, it throws the errorIt would be helpful to receive a more instructive error message, for example guiding the user to use the correct method (
update_time_series!
).I noticed from the stack trace that there may be missing handling for
TimeSeries
in the function_string_for_composite_types
.In addition, I would appreciate having a method where I can pass the collection and the attribute, and it tells me whether it is a scalar attribute or a time series This would help me write better methods for updating elements.
The text was updated successfully, but these errors were encountered: