aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-19 16:07:24 +0200
committerThomas White <taw@physics.org>2014-09-19 16:23:39 +0200
commit6a6cb3b4d7f15c234a79ff8421a0ae5c1a1dcb2a (patch)
tree00f6e0da9a8d086af18b0b1f34433bc115c9f206 /src/pattern_sim.c
parent2c959daa7a46b99a10dd5a1998b62ccb8def97de (diff)
Introduce CrystFEL unit cell files
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 0889697d..8e048b4e 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -69,7 +69,7 @@ static void show_help(const char *s)
" -h, --help Display this help message.\n"
" --version Print CrystFEL version number and exit.\n"
"\n"
-" -p, --pdb=<file> PDB file from which to get the unit cell.\n"
+" -p, --pdb=<file> File from which to get the unit cell.\n"
" (The actual Bragg intensities come from the\n"
" intensities file)\n"
" --gpu Use the GPU to speed up the calculation.\n"
@@ -572,7 +572,7 @@ int main(int argc, char *argv[])
free(beamfile);
/* Load unit cell */
- input_cell = load_cell_from_pdb(filename);
+ input_cell = load_cell_from_file(filename);
if ( input_cell == NULL ) {
exit(1);
}