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

Polygons export fail on wrong column name being referenced #31

Closed
perolavsvendsen opened this issue May 26, 2021 · 1 comment
Closed

Comments

@perolavsvendsen
Copy link
Member

meta["spec"]["npolys"] = np.unique(poly.dataframe[poly.pname].values).size

poly.pname is "POLY_ID". This is not a valid column name in poly.dataframe hence the function fails with
KeyError: 'POLY_ID'

Possibly inherited from XTgeo?

@perolavsvendsen
Copy link
Member Author

Wrongly reported, disregard.

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

1 participant