Skip to content

Commit 6e62306

Browse files
seismanleouieda
authored andcommitted
Comment out getting value of API_IMAGE_LAYOUT (#235)
API_IMAGE_LAYOUT not defined if GMT is not compiled with GDAL Fixes #232
1 parent 2127ad0 commit 6e62306

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gmt/clib/session.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def info(self):
151151
"plugin dir": self.get_default("API_PLUGINDIR"),
152152
"library path": self.get_default("API_LIBRARY"),
153153
"cores": self.get_default("API_CORES"),
154-
"image layout": self.get_default("API_IMAGE_LAYOUT"),
154+
# API_IMAGE_LAYOUT not defined if GMT is not compiled with GDAL
155+
# "image layout": self.get_default("API_IMAGE_LAYOUT"),
155156
"grid layout": self.get_default("API_GRID_LAYOUT"),
156157
}
157158
return self._info

0 commit comments

Comments
 (0)