Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
90c2969f
Commit
90c2969f
authored
Sep 20, 2010
by
Thomas White
Committed by
Thomas White
Feb 22, 2012
Browse files
facetron: Take symmetry on command line
parent
673ca84f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/facetron.c
View file @
90c2969f
...
...
@@ -366,12 +366,14 @@ int main(int argc, char *argv[])
{
"prefix"
,
1
,
NULL
,
'x'
},
{
"basename"
,
0
,
&
config_basename
,
1
},
{
"no-check-prefix"
,
0
,
&
config_checkprefix
,
0
},
{
"symmetry"
,
1
,
NULL
,
'y'
},
{
0
,
0
,
NULL
,
0
}
};
/* Short options */
while
((
c
=
getopt_long
(
argc
,
argv
,
"hi:g:x:j:"
,
longopts
,
NULL
))
!=
-
1
)
{
while
((
c
=
getopt_long
(
argc
,
argv
,
"hi:g:x:j:y:"
,
longopts
,
NULL
))
!=
-
1
)
{
switch
(
c
)
{
case
'h'
:
...
...
@@ -394,6 +396,10 @@ int main(int argc, char *argv[])
nthreads
=
atoi
(
optarg
);
break
;
case
'y'
:
sym
=
strdup
(
optarg
);
break
;
case
0
:
break
;
...
...
@@ -432,8 +438,6 @@ int main(int argc, char *argv[])
}
free
(
geomfile
);
sym
=
strdup
(
"6/mmm"
);
/* FIXME: Should be on command line */
rewind
(
fh
);
optimise_all
(
nthreads
,
det
,
sym
,
fh
,
config_basename
,
prefix
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment