Skip to content
GitLab
Menu
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
2bc635d7
Commit
2bc635d7
authored
Sep 07, 2010
by
Thomas White
Browse files
indexamajig: Implement --no-check-prefix
parent
9e1ebb53
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/indexamajig.c
View file @
2bc635d7
...
...
@@ -513,6 +513,7 @@ int main(int argc, char *argv[])
int
config_sanity
=
0
;
int
config_satcorr
=
0
;
int
config_sa
=
1
;
int
config_checkprefix
=
1
;
float
threshold
=
800
.
0
;
struct
detector
*
det
;
char
*
geometry
=
NULL
;
...
...
@@ -559,6 +560,7 @@ int main(int argc, char *argv[])
{
"sat-corr"
,
0
,
&
config_satcorr
,
1
},
{
"no-sa"
,
0
,
&
config_sa
,
0
},
{
"threshold"
,
1
,
NULL
,
't'
},
{
"no-check-prefix"
,
0
,
&
config_checkprefix
,
0
},
{
0
,
0
,
NULL
,
0
}
};
...
...
@@ -641,7 +643,9 @@ int main(int argc, char *argv[])
if
(
prefix
==
NULL
)
{
prefix
=
strdup
(
""
);
}
else
{
prefix
=
check_prefix
(
prefix
);
if
(
config_checkprefix
)
{
prefix
=
check_prefix
(
prefix
);
}
}
if
(
(
nthreads
==
0
)
||
(
nthreads
>
MAX_THREADS
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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