Skip to content

categorical Result Type doesn't exist based on vocab database. #126

Open

Description

@lsetiawan

Based on ODM2 Vocabulary Repository for Result Types, I don't see anything with Categorical, but python api is using it. The closest thing I see is Category observation

if 'categorical' in type.lower():

Activity

  1. emiliom commented on Nov 21, 2017

    @emiliom
    Member

    Side question: are you currently trying to implement ALL result types in the REST API?? Or just a narrow subset that @horsburgh specified in the design doc? (I don't remember). I don't think we should be trying to implement every single result type in the REST API, at this time. Time Series and Measurements should be the targets, for now, unless Jeff's Specimen DB actually uses categorical results.

    But back to your main point: it sounds like odm2api needs to be updated to match the CV term.

  2. lsetiawan commented on Nov 21, 2017

    @lsetiawan
    MemberAuthor

    are you currently trying to implement ALL result types in the REST API??

    I'm implementing what the database allows me to, others I can't really test, so I don't implement them, the code is there though, since it was easy to just put it there (I took similar code from the python api) It was just something I noticed, so I opened an issue, not planning to act on it whatsoever.

  3. emiliom commented on Nov 21, 2017

    @emiliom
    Member

    I'm implementing what the database allows me to, others I can't really test, so I don't implement them, the code is there though, since it was easy to just put it there (I took similar code from the python api)

    I'm not sure I completely follow. But my recommendation is not to bother implementing result types we're not using yet in an actual ODM2 database you're aware of. Things may change in the future with the REST API design (eg, see Jim Kreft's email a minute ago!), so let's focus on what we know we're likely to use and test (Jeff's design doc) soon.

    But we digress from this github issue. Again, thanks for creating this issue here. Totally relevant and helpful.

  4. added this to the v0.7.2 release milestone on Apr 8, 2019
  5. removed this from the v0.7.2 release milestone on Apr 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions