Skip to content

Commit

Permalink
Fix open_virtual_file to open_virtualfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Feb 20, 2024
1 parent 1fdb9f9 commit 76a09f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1771,5 +1771,5 @@ def virtualfile_to_data(
"grid": ("GMT_IS_GRID", "GMT_IS_SURFACE"),
"dataset": ("GMT_IS_DATASET", "GMT_IS_PLP"),
}[kind]
with self.open_virtual_file(family, geometry, "GMT_OUT", None) as vfile:
with self.open_virtualfile(family, geometry, "GMT_OUT", None) as vfile:
yield vfile

0 comments on commit 76a09f0

Please sign in to comment.