Skip to content

Allow algorithmParameter.value to be an empty string (meaning null) #88

@jonrkarr

Description

@jonrkarr

In my opinion, it should be possible to express that the value of an algorithm parameter should be null. For example, null could be used to indicate that a random algorithm shouldn't be seeded with a specific number or to indicate that an algorithm should have a preset maximum number of iterations.

An empty string is would be a convenient way to encode this. However, libSED-ML doesn't allow this.

Historically, in such cases, numerical programs have often used 0 to represent null (e.g., 0 is often used to indicate no maximum number of reactions). However, this 0 can be confusing in such contexts because 0 is typically the same data type as all other values, and marginally greater values have qualitatively different meanings. I think null would more clearly express the semantic meaning of such parameter values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions