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

Blank permissible values for enumerations #132

Open
martinwellman opened this issue Feb 26, 2024 · 1 comment
Open

Blank permissible values for enumerations #132

martinwellman opened this issue Feb 26, 2024 · 1 comment

Comments

@martinwellman
Copy link

We have enumerations where a blank value (ie. "") is a valid enumeration value. It usually corresponds to "Not Applicable" or something similar. The slot, however, might still be a required slot. With Schemasheets having a blank value in the permissible_value column will make that row correspond to the top-level enum, rather than an enum value. So the description and title (and maybe other fields) on such rows would be assigned to the top-level enum, rather than creating a new permissible_value that is blank. Is there a way to specify blank permissible values with Schemasheets?

@cmungall
Copy link
Member

cmungall commented Jun 6, 2024

[apologies for the delay]

Ah, spreadsheets and null values!

Try putting

vmap: {"MY_NULL": ""}

In the configuration column, then use MY_NULL wherever you want to use a "" for a PV

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