Skip to content

Commit

Permalink
CLN: change variable input to input_
Browse files Browse the repository at this point in the history
Since `input` is a builtin name
  • Loading branch information
jcrivenaes committed Oct 26, 2023
1 parent ab50e96 commit 60cdca4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/xtgeo/xyz/points.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,10 @@ def from_dataframe(self, dfr, east="X", north="Y", tvdmsl="Z", attributes=None):
if attributes and not all(item in dfr.columns for item in attributes.values()):
raise ValueError("One or more attribute column names are not correct")

input = OrderedDict()
input["X_UTME"] = dfr[east]
input["Y_UTMN"] = dfr[north]
input["Z_TVDSS"] = dfr[tvdmsl]
input_ = OrderedDict()
input_["X_UTME"] = dfr[east]
input_["Y_UTMN"] = dfr[north]
input_["Z_TVDSS"] = dfr[tvdmsl]

if attributes:
for target, source in attributes.items():
Expand Down

0 comments on commit 60cdca4

Please sign in to comment.