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
588d2436
Commit
588d2436
authored
Jul 01, 2010
by
Thomas White
Browse files
compare_hkl: Don't require silly -a and -b options
parent
bc5a0359
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/compare_hkl.c
View file @
588d2436
...
...
@@ -29,7 +29,7 @@
static
void
show_help
(
const
char
*
s
)
{
printf
(
"Syntax: %s [options]
-a
<file1.hkl>
-b
<file2.hkl>
\n\n
"
,
s
);
printf
(
"Syntax: %s [options] <file1.hkl> <file2.hkl>
\n\n
"
,
s
);
printf
(
"Compare intensity lists.
\n
"
"
\n
"
...
...
@@ -75,14 +75,6 @@ int main(int argc, char *argv[])
outfile
=
strdup
(
optarg
);
break
;
case
'a'
:
afile
=
strdup
(
optarg
);
break
;
case
'b'
:
bfile
=
strdup
(
optarg
);
break
;
case
0
:
break
;
...
...
@@ -92,6 +84,14 @@ int main(int argc, char *argv[])
}
if
(
argc
!=
(
optind
+
2
)
)
{
ERROR
(
"Please provide exactly two HKL files to compare.
\n
"
);
return
1
;
}
afile
=
strdup
(
argv
[
optind
++
]);
bfile
=
strdup
(
argv
[
optind
]);
cell
=
load_cell_from_pdb
(
"molecule.pdb"
);
c1
=
new_list_count
();
ref1
=
read_reflections
(
afile
,
c1
,
NULL
);
...
...
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