simphony / simphony-metadata

[LEGACY] This repository contains the metadata definitions used in SimPhoNy project.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Prevent confusion with empty vs absent model specification #90

Open stefanoborini opened 7 years ago

stefanoborini commented 7 years ago

At the moment, it is my understanding that an empty models: specification means that the CUDS Item is associated to any model. This is a bad idea, because we have to treat the special case of empty as "all" when we do a check for inclusivity (the in operator).

The correct solution is to leave models unspecified if the Item is valid for any model, and consider the empty option logically, as an Item that is not valid for any model.