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

Error ycoord config.yml #50

Open
MoritzMennenga opened this issue Jul 6, 2022 · 0 comments
Open

Error ycoord config.yml #50

MoritzMennenga opened this issue Jul 6, 2022 · 0 comments

Comments

@MoritzMennenga
Copy link
Contributor

It seem as if the yCoord value parsing from the config.yml is not working
It's only possible to read the borehole data correctly if the yCoord is named ycoord

config.yml borehole data ok error
ycoord ycoord ok
y ycoord error 1
y y error 2

1:

plugins\geoCore\profileBuilder.py", line 87, in getProfilesAndConnectors
y = features[0].attribute(self.config.settings["yCoord"])
KeyError: 'y'

2:

plugins\geoCore\petroProfile_dialog.py", line 276, in
crit = lambda f: -f.attribute('ycoord') # north -> south
KeyError: 'ycoord'

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