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

Extend schema to allow specification of default values for vars #50

Open
dosumis opened this issue Jul 9, 2019 · 1 comment
Open

Extend schema to allow specification of default values for vars #50

dosumis opened this issue Jul 9, 2019 · 1 comment

Comments

@dosumis
Copy link
Collaborator

dosumis commented Jul 9, 2019

It would be useful to have a way to specify default values for vars, with DOSDP_tools allowing TSVs that lack columns for vars with default values (A bit like kwargs in Python) and also allowing for the cells in columns for vars with a default value to be empty.

See INCATools/dosdp-tools#136 for an example use case with a data_var. This could also potentially be useful for patterns where compositional entities are allowed, but not always used. In that case a regular var could specify a default general differentium for the compositional entity (e.g. where a an anatomical entity may be X part_of some Y that default for Y could be 'organism'. Could be very generic

default_value: { some value }
@matentzn
Copy link
Collaborator

Mild chase. :)

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