diff --git a/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1mm/ATHENA_1mm.instr b/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1mm/ATHENA_1mm.instr index 6336e7fed8..aa8798aaed 100644 --- a/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1mm/ATHENA_1mm.instr +++ b/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1mm/ATHENA_1mm.instr @@ -155,7 +155,7 @@ INITIALIZE fp=fopen(fullpath_geomfile,"rb"); if (fp==NULL){ - fprintf(stderr,"Error: Cannot open file \'%s\'. Aborting.",fullpath_geomfile); + fprintf(stderr,"Error: Cannot open file \'%s\'. Aborting.\n",fullpath_geomfile); exit(-1); } fgets(line,1023,fp); diff --git a/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1pore/ATHENA_1pore.instr b/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1pore/ATHENA_1pore.instr index 5accab3837..e4208699e5 100644 --- a/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1pore/ATHENA_1pore.instr +++ b/mcxtrace-comps/examples/AstroX_ESA/ATHENA_1pore/ATHENA_1pore.instr @@ -156,7 +156,7 @@ INITIALIZE fp=fopen(fullpath_geomfile,"rb"); if (fp==NULL){ - fprintf(stderr,"Error: Cannot open file \'%s\'. Aborting.",fullpath_geomfile); + fprintf(stderr,"Error: Cannot open file \'%s\'. Aborting.\n",fullpath_geomfile); exit(-1); } fgets(line,1023,fp); diff --git a/mcxtrace-comps/examples/DTU/Pump_probe_solvent/Pump_probe_solvent.instr b/mcxtrace-comps/examples/DTU/Pump_probe_solvent/Pump_probe_solvent.instr index e5d5dacc6d..6b0544c5c7 100644 --- a/mcxtrace-comps/examples/DTU/Pump_probe_solvent/Pump_probe_solvent.instr +++ b/mcxtrace-comps/examples/DTU/Pump_probe_solvent/Pump_probe_solvent.instr @@ -76,7 +76,7 @@ INITIALIZE "(NOSOLUTE!=0) and set a solute volume fraction of 1 (FSOLV==0).\n"); } if(NOSOLUTE && NOSOLVENT){ - fprintf(stderr,"Warning (Pump_probe_solvent): You have disabled solute and solvent scattering.\nAborting to avoid wasting your time."); + fprintf(stderr,"Warning (Pump_probe_solvent): You have disabled solute and solvent scattering.\nAborting to avoid wasting your time.\n"); exit(0); } diff --git a/mcxtrace-comps/examples/MAXIV/MAXIV_Bloch/MAXIV_Bloch.instr b/mcxtrace-comps/examples/MAXIV/MAXIV_Bloch/MAXIV_Bloch.instr index 4b4c3dc040..afc4c8f2ee 100644 --- a/mcxtrace-comps/examples/MAXIV/MAXIV_Bloch/MAXIV_Bloch.instr +++ b/mcxtrace-comps/examples/MAXIV/MAXIV_Bloch/MAXIV_Bloch.instr @@ -245,7 +245,7 @@ if (cff && !grating_mode){ /*}*/ if(verbose){ - fprintf(stdout,"INFO(%s):Monochromator specs: \n Angle of pre-mirror=%f deg. \n Angle of grating=%f deg.",instrument_name,mirror2_angle,angle_grating); + fprintf(stdout,"INFO(%s):Monochromator specs: \n Angle of pre-mirror=%f deg. \n Angle of grating=%f deg.\n",instrument_name,mirror2_angle,angle_grating); } MCAngleVariation=angle_grating*0.99; @@ -276,17 +276,17 @@ Error messages: *******************************************************/ if (angle_grating>30 || angle_grating<0) { - fprintf(stderr,"ERROR: cPGM grating angle is out of bounds(%f DEG). Simulation ended",angle_grating); + fprintf(stderr,"ERROR: cPGM grating angle is out of bounds(%f DEG). Simulation ended.\n",angle_grating); exit(-1); } if (mirror2_angle>21 || mirror2_angle<0) { - fprintf(stderr,"ERROR: M2 angle is out of bounds(%f DEG). Simulation ended",mirror2_angle); + fprintf(stderr,"ERROR: M2 angle is out of bounds(%f DEG). Simulation ended.\n",mirror2_angle); exit(-1); } if (theta_PG_NIM>30 || theta_PG_NIM<0) { - fprintf(stderr,"ERROR: NIM grating angle is out of bounds(%f DEG). Simulation ended",theta_PG_NIM); + fprintf(stderr,"ERROR: NIM grating angle is out of bounds(%f DEG). Simulation ended.\n",theta_PG_NIM); exit(-1); } %}