diff --git a/modules/io/src/img/map_io_spi_handler.cc b/modules/io/src/img/map_io_spi_handler.cc index 6b308f91218053490d1c9c1254ccc3cf5cf1b257..85a68a978724fc6c8d8c299ff90f7659b4d16000 100644 --- a/modules/io/src/img/map_io_spi_handler.cc +++ b/modules/io/src/img/map_io_spi_handler.cc @@ -152,7 +152,7 @@ void prep_header(spider_header& header, const img::Size& size, const geom::Vec3& String date_for_header=time_string.substr(8,2) + "-" + time_string.substr(4,3) + "-" + time_string.substr(22,4) + " "; String time_for_header=time_string.substr(11,8); - String title_for_header = "Generated by OST (www.img.org)"; + String title_for_header = "Generated by OST (www.openstructure.org)"; header.fNslice = nslice; header.fNrow = nrow; @@ -274,8 +274,8 @@ void header_filler(std::istream& in, spider_header& header) f.read(header.szITit,160); - if(header.fIform!=3.0) { - throw(ost::io::IOException("spiderRead: can only read 3 (3D volume)\n")); + if(header.fIform!=3.0 && header.fIform!=1.0) { + throw(ost::io::IOException("spiderRead: can only read modes 1 (2D image) or 3 (3D volume)\n")); } }