diff options
author | Thomas White <taw@physics.org> | 2016-01-06 16:33:59 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-01-06 16:33:59 +0100 |
commit | b41ac3f9f5bd289deb66fd056380faeb40b45ab5 (patch) | |
tree | 78e0da1e093ccd71c2dd363e33872a99cfafc52b /src | |
parent | 048c93c9d1d482e975e08e82653f62985cc1e949 (diff) |
Rearrange columns in partialator.params
Diffstat (limited to 'src')
-rw-r--r-- | src/partialator.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/partialator.c b/src/partialator.c index c98f40fe..e22f4f7a 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -1073,18 +1073,19 @@ int main(int argc, char *argv[]) if ( fh == NULL ) { ERROR("Couldn't open partialator.params!\n"); } else { - fprintf(fh, "filename event cr OSF relB div flag\n"); + fprintf(fh, " cr OSF relB div" + " flag filename event\n"); for ( i=0; i<n_crystals; i++ ) { struct image *img; char *evt_str; img = crystal_get_image(crystals[i]); evt_str = get_event_string(img->event); - fprintf(fh, "%s %s %4i %10.5f %10.2f %8.5e %s\n", - img->filename, evt_str, i, - crystal_get_osf(crystals[i]), + fprintf(fh, "%4i %10.5f %10.2f %8.5e %-25s %s %s\n", + i, crystal_get_osf(crystals[i]), crystal_get_Bfac(crystals[i])*1e20, crystal_get_image(crystals[i])->div, - str_prflag(crystal_get_user_flag(crystals[i]))); + str_prflag(crystal_get_user_flag(crystals[i])), + img->filename, evt_str); free(evt_str); } fclose(fh); |