diff options
author | Thomas White <taw@physics.org> | 2020-05-20 16:46:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 8e30641ba8fe37575794adef60c340e6116e0e7b (patch) | |
tree | ee88eebfa1728d57a7b3331ebaba3f50c6b1500c /src/post-refinement.c | |
parent | be37f0ce53156221de0248ee43dd2b3551bcb771 (diff) |
Port indexamajig to new API, part I
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r-- | src/post-refinement.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 16ab41ce..b3ce79c1 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -336,9 +336,7 @@ void write_test_logs(Crystal *crystal, const RefList *full, } if ( cycle == 0 ) { - char *evstr = get_event_string(image->event); - fprintf(fh, "Image: %s %s\n", image->filename, evstr); - free(evstr); + fprintf(fh, "Image: %s %s\n", image->filename, image->ev); } if ( cycle >= 0 ) { @@ -393,10 +391,8 @@ void write_specgraph(Crystal *crystal, const RefList *full, } if ( cycle == 0 ) { - char *evstr = get_event_string(image->event); - fprintf(fh, "Image: %s %s\n", image->filename, evstr); + fprintf(fh, "Image: %s %s\n", image->filename, image->ev); fprintf(fh, "khalf/m 1/d(m) pcalc pobs iteration h k l\n"); - free(evstr); } cell = crystal_get_cell(crystal); |