Skip to content

Implement more validation checks #1

@iimog

Description

@iimog

The types of biom attributes are checked in the setter functions. TypeErrors are thrown if there is a mismatch. As the constructor uses the setters types are also checked in the constructor. But there are other possible inconsistencies that are not yet checked:

  • keep shape correct by calculating dynamically (read only)
  • keep matrix_type correct by updating data on set
  • all elements of rows and columns are objects containing (unique) id and metadata
  • keep data correct by updating when rows or columns are set
  • keep data correct by throwing an Error if it is set incorrectly
  • format_url is really an url and not only a string
  • date is really date time in ISO 8601 format

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions