GithubHelp home page GithubHelp logo

Jinja2 templating in libres about libres HOT 6 CLOSED

equinor avatar equinor commented on August 29, 2024 1
Jinja2 templating in libres

from libres.

Comments (6)

joakim-hove avatar joakim-hove commented on August 29, 2024

The system with context variables and <magic> variables in ert is quite large and complex, it is very important and much used functionality. It works - to some extent - from a user perspective, but the implementation is complex and fragile.

So - I really support making a proper templating solution available in ERT, but we should be carefull to not just add yet-another-template-functionality to ERT without also cleaning up and removing much of what is there already. This is a quite significant task.

from libres.

markusdregi avatar markusdregi commented on August 29, 2024

Needs #432

from libres.

markusdregi avatar markusdregi commented on August 29, 2024

I completely agree @joakim-hove. As discussed (offline) I suggest that we first make a job for doing this templating for files in the forward model at the request of the user. This is already initiated by @DanSava and @ManInFez .

I then suggest to keep the current templating language alive in the ERT-configuration files until we have decided whether or not to push for yaml. If we do the later, then I guess we can decide whether we want to keep the <magic> variables alive in the old format, and move to Jinja2 only for yaml, or if we should do a complete transistion..

from libres.

markusdregi avatar markusdregi commented on August 29, 2024

Needs #437

from libres.

ManInFez avatar ManInFez commented on August 29, 2024

This was solved #443, right?

from libres.

ManInFez avatar ManInFez commented on August 29, 2024

Closing as this was resolved!

from libres.

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.