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

Add tests for coverage #193

Merged
merged 14 commits into from
Feb 7, 2022
Prev Previous commit
Next Next commit
fix for well.uwi setter
  • Loading branch information
patrick-reinhard committed Jan 27, 2022
commit b70507aa2b0112462f3c5739941b96be6b2772a6
2 changes: 1 addition & 1 deletion welly/well.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def uwi(self, uwi):
Nothing, works inplace
"""
# delete existing row for uwi if it exists
if 'UWI' in self.header.mnemonic:
if any(self.header.mnemonic.isin(['UWI'])):
self.header = self.header[self.header.mnemonic != 'UWI']

self.add_header_item('uwi', uwi)
Expand Down