Coder Social home page Coder Social logo

various utils rely on inschek about pyemu HOT 4 CLOSED

pypest avatar pypest commented on August 26, 2024
various utils rely on inschek

from pyemu.

Comments (4)

jtwhite79 avatar jtwhite79 commented on August 26, 2024

actually @wkitlasten I just finished adding python-based instruction file processing (checkout Pst.processing_output_files()). This is still pretty green and doesnt support all the complexity of instructions that are possible but it does support the most common instructions (at least that I use). So those calls to inschek are getting phased out and replaced by the python-based processor. Any particular utils are causing you issues? If you are going to add calls to inschek I recommend os_utils.run - it will eliminate issues around the leading ./ on linux and the .exe suffix on windows.

On a related note, I think it would be really nice to have statically-linked binaries for the most common pest utils included with pyemu (with some nice python wrappers as needed), I just dont have the make skills to get them all built for the 3 main OS's.

from pyemu.

wkitlasten avatar wkitlasten commented on August 26, 2024

from pyemu.

jtwhite79 avatar jtwhite79 commented on August 26, 2024

ok - I think we should migrate all those raw os.system("inschek...") calls to use pst_utils.try_process_ins_file() - this will use the new python-based instruction processing, esp since those utils write really simple instruction files. I can work that in pretty soon otherwise PRs accepted!

from pyemu.

jtwhite79 avatar jtwhite79 commented on August 26, 2024

This should be done now - all instruction file processing should use pyemu.pst_utils.InstructionFile

from pyemu.

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.