Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
3a554be4
Commit
3a554be4
authored
12 years ago
by
Andreas Schenk
Browse files
Options
Downloads
Patches
Plain Diff
added CCP4 class to img io export
correctly set export feature flag for dm3
parent
6220bc5d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/io/pymod/export_map_io.cc
+4
-0
4 additions, 0 deletions
modules/io/pymod/export_map_io.cc
modules/io/src/img/map_io_dm3_handler.hh
+1
-1
1 addition, 1 deletion
modules/io/src/img/map_io_dm3_handler.hh
with
5 additions
and
1 deletion
modules/io/pymod/export_map_io.cc
+
4
−
0
View file @
3a554be4
...
@@ -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
<>
())
;
;
...
...
This diff is collapsed.
Click to expand it.
modules/io/src/img/map_io_dm3_handler.hh
+
1
−
1
View file @
3a554be4
...
@@ -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
tru
e
;
}
static
bool
ProvidesExport
()
{
return
fals
e
;
}
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"
);}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment