alan-turing-institute / simulate

A web framework for research simulations.
http://simulate.readthedocs.io
MIT License
4 stars 1 forks source link

Re-implement units #97

Closed masonlr closed 6 years ago

masonlr commented 6 years ago

Description

Acceptance criteria

Out of scope

Implementation notes

masonlr commented 6 years ago

If units are to be selectable (from dropdown list of units options), then job "values" must contain a "units" field.

"values": [
        {
            "value": "0.011",
            "id": 1,
            "name": "kinematic_viscosity",
            "parent_template": null,
            "units": "m²/s",
        },
        {
            "value": "1.0",
            "id": 2,
            "name": "dimensionless_group",
            "parent_template": null,
            "units": null,
        }
    ],
masonlr commented 6 years ago

TODO: Align the units...

image