Giter Site home page Giter Site logo

Comments (5)

cmungall avatar cmungall commented on July 29, 2024

Relevant section of the schema guide: https://linkml.io/linkml/schemas/advanced.html#rules

(note there is no way to say column N+1, but a specific slot can be named)

from dataharmonizer.

pkalita-lbl avatar pkalita-lbl commented on July 29, 2024

This seems orthogonal to the multi-view interface I've been working on for NMDC.

I think DataHarmonizer could pick up the rules metamodel slot in its validation procedure, and it wouldn't be too terribly hard to do.

from dataharmonizer.

ddooley avatar ddooley commented on July 29, 2024

Yes, we'd like to get rule-based validation - and dynamically required fields - happening right inside DH. Patrick, what does "multi-view interface" mean? Were you approaching this via custom field-change hooks? One thing is that not only should all the rule behaviour happen as people are editing content, but also on loading of a dataset or when user presses "Validate".

from dataharmonizer.

pkalita-lbl avatar pkalita-lbl commented on July 29, 2024

what does "multi-view interface" mean?

I'm working on an interface for the NMDC project where we're going to allow a user to switch between different templates via a sort of tab-like interface. It's not really related to what we're talking about here.

Were you approaching this via custom field-change hooks? One thing is that not only should all the rule behaviour happen as people are editing content, but also on loading of a dataset or when user presses "Validate".

Just to be clear, I have not started working on implementing this at all. I assumed it would be added to the getInvalidCells method.

from dataharmonizer.

ddooley avatar ddooley commented on July 29, 2024

Understood. A heads-up that early this spring we will have another programmer resource dedicated to DH work so no worries if you have commitments elsewhere.

from dataharmonizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.