aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-10-20 14:28:47 +0200
committerThomas White <taw@physics.org>2021-10-20 14:28:47 +0200
commitd6982b711b365477a3e44d2e20044f770fb9010f (patch)
tree7f5dd5b7e10efae8b93f18e5761d746e0fd0c37c /src/get_hkl.c
parent0b46b5003af6c6c45da1ff2455680f612f27fa47 (diff)
Set crystal name in MTZ files
When using the GUI, it will be set to the corresponding indexing result name.
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index fb0d04fc..e80383e5 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -915,7 +915,8 @@ int main(int argc, char *argv[])
ERROR("You must provide the MTZ output filename.\n");
r = 1;
} else {
- r = write_to_mtz(input, mero, cell, 0, INFINITY, output, "dataset");
+ r = write_to_mtz(input, mero, cell, 0, INFINITY, output,
+ "dataset", "crystal", "project");
}
} else if ( strcasecmp(output_format_str, "xds") == 0 ) {
if ( output == NULL ) {