Skip to content
Snippets Groups Projects

move to pyunitsystem 2.0

Merged payno requested to merge move_to_pynuitsystem_2 into main
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
65 65 Configuration class to provide to the convert from h5 to nx
66 66 """
67 67
68 _valid_metric_values = [
69 str(item)
70 for item in (
71 MetricSystem.METER,
72 MetricSystem.CENTIMETER,
73 MetricSystem.MILLIMETER,
74 MetricSystem.MICROMETER,
75 MetricSystem.NANOMETER,
76 )
77 ]
68 _valid_metric_values = [str(item) for item in MetricSystem]
  • Comment on lines -68 to +68
    Author Owner

    We had to define manually all the valid values (MetricSystem.METER,MetricSystem.CENTIMETER...) because the MetricSystem contained historically other kind of values like kev...) it is the original reason of having a pyunitsystem 2.0 so let's benefit from it.

  • Please register or sign in to reply
  • assigned to @payno

  • payno requested review from @pautran

    requested review from @pautran

  • payno changed milestone to %1.1

    changed milestone to %1.1

  • payno marked this merge request as ready

    marked this merge request as ready

  • payno mentioned in commit e81a173d

    mentioned in commit e81a173d

  • merged

  • Please register or sign in to reply
    Loading