Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double check unit setting #842

Open
turbomam opened this issue Aug 14, 2024 · 1 comment
Open

double check unit setting #842

turbomam opened this issue Aug 14, 2024 · 1 comment
Assignees

Comments

@turbomam
Copy link
Member

unit: ([^\s-]{1,2}|[^\s-]+.+[^\s-]+)

why are there hyphens in there?

@turbomam turbomam self-assigned this Aug 14, 2024
@Woolly-at-EBI
Copy link
Collaborator

Good question.
If it is any help, the following are all the current separate units in ENA's sample checklists. No hyphens in any of them. With a quick run through the regex in my head, all would pass though.

CHECKLIST_FIELD_UNIT
%
Pa
g
g/m3
kg
m
mg/L
ng/µl
µl/L

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants