Skip to content

Commit 2f26ab4

Browse files
author
Meghan Jones
committed
Remove redundant assignment
1 parent 7195cba commit 2f26ab4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pygmt/src/nearneighbor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ def nearneighbor(data=None, x=None, y=None, z=None, **kwargs):
141141
with table_context as infile:
142142
if (outgrid := kwargs.get("G")) is None: # if outgrid is unset, output to tmpfile
143143
kwargs["G"] = outgrid = tmpfile.name
144-
outgrid = kwargs["G"]
145144
arg_str = " ".join([infile, build_arg_string(kwargs)])
146145
lib.call_module(module="nearneighbor", args=arg_str)
147146

0 commit comments

Comments
 (0)