aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 13:52:54 +0100
committerCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 13:52:54 +0100
commit8eb104ce1ee5a7acb46dfb8ea18c6cc08ed7b11b (patch)
treefdf2d0fed1196794c318abb1703d6cbcb15ed6b9 /libcrystfel/src
parent94a2c933b40d8c6c8f085794cb55de6dac684316 (diff)
?
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/xds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index e88b1995..4034a8e4 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -381,7 +381,7 @@ static char *write_inp(struct image *image, struct xds_private *xp)
{
FILE *fh;
char *filename;
- char *spacegroup_for_lattice;
+ const char *spacegroup_for_lattice;
double a, b, c, al, be, ga;
filename = malloc(1024);
@@ -405,6 +405,7 @@ static char *write_inp(struct image *image, struct xds_private *xp)
fprintf(fh, "NAME_TEMPLATE_OF_DATA_FRAMES=/home/ins_ssad_1_???.img \n");
fprintf(fh, "DATA_RANGE=1 1\n");
fprintf(fh, "SPOT_RANGE=1 1\n");
+ //symm = spacegroup_for_lattice(xds->xp->template);
fprintf(fh, "SPACE_GROUP_NUMBER= %s\n", spacegroup_for_lattice);
cell_get_parameters(xp->cell, &a, &b, &c, &al, &be, &ga);
fprintf(fh, "UNIT_CELL_CONSTANTS= %.6f %.6f %.6f %.6f %.6f %.6f P\n",