Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nomad-FAIR nomad-FAIR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 141
    • Issues 141
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nomad-lab
  • nomad-FAIRnomad-FAIR
  • Issues
  • #802

Closed
Open
Created Apr 08, 2022 by Markus Scheidgen@mscheidgOwner

Unit prefixes and complex units in the GUI

Part of #798 (closed)

For the use of the ELN we are slowly diverging from the "only SI units" and no "unit prefixes (milli, kilo, etc.)". This causes issues in the GUI. While pint is mostly working fine, the GUI unit systems seems to have different troubles.

Here are a few comments by @josma

I have been exploring the issues with including the units with 'milli' and so on as part of the schema. To be able to do so, these units need to be registered in /home/pepe_marquez/NOMAD/nomad/nomad/cli/dev.py in two places, the unit_map and the unit_table.

Update: what is mentioned above worked for me for example for mA unit='milliampere' or mV unit='millivolt'. When I had something like unit='milliampere / centimeter / centimeter' or unit='milliampere * centimeter ** (-2)' the gui was giving me an error telling me that could not render the section.

@himanel1 could you investigate a bit and tell us what the GUI limitations are, which can be overcome, and which a systemically inevitable?

Edited Apr 20, 2022 by Markus Scheidgen
Assignee
Assign to
Time tracking