MetaCell / geppetto-scidash

Geppetto scidash extension
2 stars 1 forks source link

Saving a test class resulted in ERROR: value too long for type character varying(50) in the database for class_name #443

Closed zsinnema closed 4 years ago

zsinnema commented 4 years ago

from the postgresql log STATEMENT: UPDATE "sciunittests_testclass" SET "class_name" = 'InputResistanceTest (neuronunit.tests.passive) (neuronunit.tests.passive)', "url" = NULL, "import_path" = 'neuronunit.tests.passive.InputResistanceTest', "observation_schema" = '[["Mean, Standard Deviation, N", {"n": {"min": 1, "type": "integer"}, "std": {"min": 0, "units": true, "required": true}, "mean": {"units": true, "required": true}}], ["Mean, Standard Error, N", {"n": {"min": 1, "type": "integer", "required": true}, "sem": {"min": 0, "units": true, "required": true}, "mean": {"units": true, "required": true}}]]', "test_parameters_schema" = '{"dt": {"min": 0, "type": "time", "required": false}, "tmax": {"min": 0, "type": "time", "required": false}, "delay": {"min": 0, "type": "time", "required": false}, "padding": {"min": 0, "type": "time", "required": false}, "duration": {"min": 0, "type": "time", "required": false}, "amplitude": {"type": "current", "required": false}}', "units" = '{"name": "megaohm", "base": {"quantity": "quantities.ohm", "coefficient": 1000000.0}, "symbol": "Mohm"}', "memo" = NULL, "params_units" = '{"dt": "quantities.s", "tmax": "quantities.s", "delay": "quantities.s", "padding": "quantities.s", "duration": "quantities.s", "amplitude": "quantities.A"}', "default_params" = '{"dt": 2.5e-05, "delay": 0.1, "padding": 0.2, "duration": 0.3, "amplitude": -1.0000000000000001e-11}' WHERE "sciunittests_testclass"."id" = 120