aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 12:28:47 +0100
committerCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 12:28:47 +0100
commit6501edc62d77bb2bf9095bfcc834bb5d68e7ba0f (patch)
treef237ad014d3dbe1ef4f3a6ce77b9fc1ab49076bd
parentc52aaa6253a4987a0f4e392f9e16f0ad4f5e6cc4 (diff)
?
-rw-r--r--libcrystfel/src/xds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index 2e8ac225..e88b1995 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;
- LatticeType latt;
+ char *spacegroup_for_lattice;
double a, b, c, al, be, ga;
filename = malloc(1024);
@@ -405,7 +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");
- fprintf(fh, "SPACE_GROUP_NUMBER= %i\n", latt);
+ 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",
a*1e10, b*1e10, c*1e10,rad2deg(al), rad2deg(be), rad2deg(ga));