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

Matrix object has no attribute 'names' #513

Open
wkitlasten opened this issue Jun 6, 2024 · 1 comment
Open

Matrix object has no attribute 'names' #513

wkitlasten opened this issue Jun 6, 2024 · 1 comment

Comments

@wkitlasten
Copy link
Collaborator

pe = pyemu.ParameterEnsemble.from_gaussian_draw(pst=pst,num_reals=200, cov=m)

Produces:

 File "C:\modelling\pyemu\pyemu\en.py", line 996, in from_gaussian_draw
    df = Ensemble._gaussian_draw(
  File "C:\modelling\pyemu\pyemu\en.py", line 483, in _gaussian_draw
    for n in cov.names:
AttributeError: 'Matrix' object has no attribute 'names'

It seems it should be cov.row_names or cov.col_names, I'm guessing either?

@jtwhite79
Copy link
Collaborator

I think m must be a Cov instance...

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