diff --git a/modules/io/pymod/export_map_io.cc b/modules/io/pymod/export_map_io.cc index afe494d1997b4d1720fe49592b35c36e51976980..641b99b42c89ab27508a2534c49a5e5bf6ba5389 100644 --- a/modules/io/pymod/export_map_io.cc +++ b/modules/io/pymod/export_map_io.cc @@ -116,6 +116,10 @@ void export_map_io() .def("GetEndianessOnSave", &MRC::GetEndianessOnSave) ; + class_<CCP4, bases<MRC> >("CCP4", init<bool,Endianess> + ((arg("normalize_on_save") = false,arg("endianess_on_save")=OST_LOCAL_ENDIAN))) + ; + class_<DM3, bases<ImageFormatBase> >("DM3", init<>()) ; diff --git a/modules/io/src/img/map_io_dm3_handler.hh b/modules/io/src/img/map_io_dm3_handler.hh index 89d5f87c1ca78f98b794dff63b45f508c236238f..97191f67ef9456c3c3d5e804ec9a8011454daea2 100644 --- a/modules/io/src/img/map_io_dm3_handler.hh +++ b/modules/io/src/img/map_io_dm3_handler.hh @@ -50,7 +50,7 @@ class DLLEXPORT_OST_IO MapIODm3Handler: public MapIOHandler static bool MatchType(const ImageFormatBase& type); static bool MatchSuffix(const String& loc); static bool ProvidesImport() { return true; } - static bool ProvidesExport() { return true; } + static bool ProvidesExport() { return false; } static String GetFormatName() { return String("Dm3"); } static String GetFormatDescription() {return String("Format used by Gatan Inc.'s Digital Micrograph software");}