Skip to content

Commit 7cde20c

Browse files
committed
Handle ISIS2 and ISIS3 gdal drivers when opening images
1 parent 65882a2 commit 7cde20c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isis/src/base/objs/Cube/Cube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ namespace Isis {
816816
if (hDriver != nullptr) {
817817
GDALDriver* poDriver = (GDALDriver*)hDriver;
818818
QString driverDescription = poDriver->GetDescription();
819-
openWithGdal = driverDescription != QString("ISIS3");
819+
openWithGdal = (!driverDescription.contains("ISIS"));
820820
}
821821

822822
try{

0 commit comments

Comments
 (0)