Skip to content
Snippets Groups Projects
Commit 3a554be4 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

added CCP4 class to img io export

correctly set export feature flag for dm3
parent 6220bc5d
Branches
Tags
No related merge requests found
...@@ -116,6 +116,10 @@ void export_map_io() ...@@ -116,6 +116,10 @@ void export_map_io()
.def("GetEndianessOnSave", &MRC::GetEndianessOnSave) .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<>()) class_<DM3, bases<ImageFormatBase> >("DM3", init<>())
; ;
......
...@@ -50,7 +50,7 @@ class DLLEXPORT_OST_IO MapIODm3Handler: public MapIOHandler ...@@ -50,7 +50,7 @@ class DLLEXPORT_OST_IO MapIODm3Handler: public MapIOHandler
static bool MatchType(const ImageFormatBase& type); static bool MatchType(const ImageFormatBase& type);
static bool MatchSuffix(const String& loc); static bool MatchSuffix(const String& loc);
static bool ProvidesImport() { return true; } static bool ProvidesImport() { return true; }
static bool ProvidesExport() { return true; } static bool ProvidesExport() { return false; }
static String GetFormatName() { return String("Dm3"); } static String GetFormatName() { return String("Dm3"); }
static String GetFormatDescription() {return String("Format used by Gatan Inc.'s Digital Micrograph software");} static String GetFormatDescription() {return String("Format used by Gatan Inc.'s Digital Micrograph software");}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment