-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
various utils rely on inschek #88
Comments
actually @wkitlasten I just finished adding python-based instruction file processing (checkout 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 |
Busy man!
Calls to inschek using os_utils.run are in setup_mflist_budget_obs
and setup_mtlist_budget_obs (maybe others?).
setup_mflist_budget_obs returns None when inschek fails, so maybe the best
option is to just remove the "return None"? The user will get the error
message but (hopefully) the df will be returned for examination...?
…On Tue, Aug 20, 2019 at 1:10 PM J Dub ***@***.***> wrote:
actually @wkitlasten <https://github.com/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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/jtwhite79/pyemu/issues/88?email_source=notifications&email_token=ADSJXRHK3IIWHPVAYSWWOALQFRFU5A5CNFSM4IN3JFJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4XQLFY#issuecomment-523175319>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADSJXRHWO4A3S7LRB7WKQNDQFRFU5ANCNFSM4IN3JFJA>
.
|
ok - I think we should migrate all those raw |
This should be done now - all instruction file processing should use |
Several examples and utils rely on inschek.exe. Is it possible to add inschek to the bin? If so, I will do the menial task of changing the run('inschek...) commands to the relative path so Windows users don't have to deal with another download and changing their path in environment variables.
The text was updated successfully, but these errors were encountered: