matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

Validation rule on timecourse to strict #584

Closed matthiaskoenig closed 4 years ago

matthiaskoenig commented 4 years ago

The validation rule on timecourses is to strict. Substance should only be required for measurement_types which require substance, e.g. concentration

    "timecourse_exs": [
      {},
      {
        "timecourses": [
          {
            "substance": [
              "The key <substance> is required. "
            ]
          },
          {
            "substance": [
              "The key <substance> is required. "
            ]
          }
        ]
      }
    ]