Skip to content
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

parrep bug? #504

Open
RyanConway91 opened this issue May 8, 2024 · 1 comment
Open

parrep bug? #504

RyanConway91 opened this issue May 8, 2024 · 1 comment

Comments

@RyanConway91
Copy link

In order to get this code to work:

import pyemu 
f_pst = 'gully30.pst'
pst = pyemu.Pst('gully30.pst')
pst.parrep("gully30.2.par.csv", noptmax=0,real_name = "175")
pst.write(f_pst.replace('.pst','_opt.pst'))

I had to add the ":" to this line in pst_handler.py
image

@jtwhite79
Copy link
Collaborator

That line, while convoluted, seems to work for me at least for the simple tests that cover it. Maybe you are storing your ensembles in transposed format? either way, that line could be cleaned up..I'll refactor it for the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants