diff --git a/tests/test_basic/results.py b/tests/test_basic/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_basic/results.py +++ b/tests/test_basic/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_basic/results_true.dat b/tests/test_basic/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_basic/results_true.dat +++ b/tests/test_basic/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_density_atombcm/results.py b/tests/test_density_atombcm/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_density_atombcm/results.py +++ b/tests/test_density_atombcm/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_density_atombcm/results_true.dat b/tests/test_density_atombcm/results_true.dat index 841cd20154..98f3989779 100644 --- a/tests/test_density_atombcm/results_true.dat +++ b/tests/test_density_atombcm/results_true.dat @@ -1,2 +1,2 @@ k-combined: -1.73665099 0.01507851 \ No newline at end of file +1.73665099 0.01507851 diff --git a/tests/test_density_atomcm3/results.py b/tests/test_density_atomcm3/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_density_atomcm3/results.py +++ b/tests/test_density_atomcm3/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_density_atomcm3/results_true.dat b/tests/test_density_atomcm3/results_true.dat index 0a3ddaa939..d9099a513a 100644 --- a/tests/test_density_atomcm3/results_true.dat +++ b/tests/test_density_atomcm3/results_true.dat @@ -1,2 +1,2 @@ k-combined: -1.08199949 0.01359101 \ No newline at end of file +1.08199949 0.01359101 diff --git a/tests/test_density_kgm3/results.py b/tests/test_density_kgm3/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_density_kgm3/results.py +++ b/tests/test_density_kgm3/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_density_kgm3/results_true.dat b/tests/test_density_kgm3/results_true.dat index e12431d6df..766034de21 100644 --- a/tests/test_density_kgm3/results_true.dat +++ b/tests/test_density_kgm3/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.81819931 0.00497052 \ No newline at end of file +0.81819931 0.00497052 diff --git a/tests/test_density_sum/results.py b/tests/test_density_sum/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_density_sum/results.py +++ b/tests/test_density_sum/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_density_sum/results_true.dat b/tests/test_density_sum/results_true.dat index e7919b16b6..e7e08e0819 100644 --- a/tests/test_density_sum/results_true.dat +++ b/tests/test_density_sum/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.32042881 0.00165656 \ No newline at end of file +0.32042881 0.00165656 diff --git a/tests/test_eigenvalue_genperbatch/results.py b/tests/test_eigenvalue_genperbatch/results.py index 53ed4f5e9d..8591730a8e 100644 --- a/tests/test_eigenvalue_genperbatch/results.py +++ b/tests/test_eigenvalue_genperbatch/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_eigenvalue_genperbatch/results_true.dat b/tests/test_eigenvalue_genperbatch/results_true.dat index 82f0be105d..82d54a46bc 100644 --- a/tests/test_eigenvalue_genperbatch/results_true.dat +++ b/tests/test_eigenvalue_genperbatch/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.29182788 0.00487636 \ No newline at end of file +0.29182788 0.00487636 diff --git a/tests/test_eigenvalue_no_inactive/results.py b/tests/test_eigenvalue_no_inactive/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_eigenvalue_no_inactive/results.py +++ b/tests/test_eigenvalue_no_inactive/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_eigenvalue_no_inactive/results_true.dat b/tests/test_eigenvalue_no_inactive/results_true.dat index ce86fbf773..0cae605f39 100644 --- a/tests/test_eigenvalue_no_inactive/results_true.dat +++ b/tests/test_eigenvalue_no_inactive/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30737879 0.00683022 \ No newline at end of file +0.30737879 0.00683022 diff --git a/tests/test_energy_grid/results.py b/tests/test_energy_grid/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_energy_grid/results.py +++ b/tests/test_energy_grid/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_energy_grid/results_true.dat b/tests/test_energy_grid/results_true.dat index f291f3b886..c67d9bfee6 100644 --- a/tests/test_energy_grid/results_true.dat +++ b/tests/test_energy_grid/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.31693311 0.00336656 \ No newline at end of file +0.31693311 0.00336656 diff --git a/tests/test_lattice/results.py b/tests/test_lattice/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_lattice/results.py +++ b/tests/test_lattice/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_lattice/results_true.dat b/tests/test_lattice/results_true.dat index 30ef48bd10..c3a8457d27 100644 --- a/tests/test_lattice/results_true.dat +++ b/tests/test_lattice/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.97864897 0.03395480 \ No newline at end of file +0.97864897 0.03395480 diff --git a/tests/test_lattice_multiple/results.py b/tests/test_lattice_multiple/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_lattice_multiple/results.py +++ b/tests/test_lattice_multiple/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_lattice_multiple/results_true.dat b/tests/test_lattice_multiple/results_true.dat index 1edaa32cc0..40a01307d6 100644 --- a/tests/test_lattice_multiple/results_true.dat +++ b/tests/test_lattice_multiple/results_true.dat @@ -1,2 +1,2 @@ k-combined: -1.63626998 0.13749537 \ No newline at end of file +1.63626998 0.13749537 diff --git a/tests/test_natural_element/results.py b/tests/test_natural_element/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_natural_element/results.py +++ b/tests/test_natural_element/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_natural_element/results_true.dat b/tests/test_natural_element/results_true.dat index c203a9a4eb..3f74c0c099 100644 --- a/tests/test_natural_element/results_true.dat +++ b/tests/test_natural_element/results_true.dat @@ -1,2 +1,2 @@ k-combined: -1.01010427 0.02527489 \ No newline at end of file +1.01010427 0.02527489 diff --git a/tests/test_output/results.py b/tests/test_output/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_output/results.py +++ b/tests/test_output/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_output/results_true.dat b/tests/test_output/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_output/results_true.dat +++ b/tests/test_output/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_ptables_off/results.py b/tests/test_ptables_off/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_ptables_off/results.py +++ b/tests/test_ptables_off/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_ptables_off/results_true.dat b/tests/test_ptables_off/results_true.dat index 30055f593a..02972125d8 100644 --- a/tests/test_ptables_off/results_true.dat +++ b/tests/test_ptables_off/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.29819611 0.00828720 \ No newline at end of file +0.29819611 0.00828720 diff --git a/tests/test_reflective_cone/results.py b/tests/test_reflective_cone/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_reflective_cone/results.py +++ b/tests/test_reflective_cone/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_reflective_cone/results_true.dat b/tests/test_reflective_cone/results_true.dat index aed3fadf67..76d6ff680c 100644 --- a/tests/test_reflective_cone/results_true.dat +++ b/tests/test_reflective_cone/results_true.dat @@ -1,2 +1,2 @@ k-combined: -2.25422952 0.01988955 \ No newline at end of file +2.25422952 0.01988955 diff --git a/tests/test_reflective_cylinder/results.py b/tests/test_reflective_cylinder/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_reflective_cylinder/results.py +++ b/tests/test_reflective_cylinder/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_reflective_cylinder/results_true.dat b/tests/test_reflective_cylinder/results_true.dat index 5e2c11afb7..e080cfd862 100644 --- a/tests/test_reflective_cylinder/results_true.dat +++ b/tests/test_reflective_cylinder/results_true.dat @@ -1,2 +1,2 @@ k-combined: -2.26978548 0.00418283 \ No newline at end of file +2.26978548 0.00418283 diff --git a/tests/test_reflective_plane/results.py b/tests/test_reflective_plane/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_reflective_plane/results.py +++ b/tests/test_reflective_plane/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_reflective_plane/results_true.dat b/tests/test_reflective_plane/results_true.dat index fa3fa6bcdf..bbcb406e45 100644 --- a/tests/test_reflective_plane/results_true.dat +++ b/tests/test_reflective_plane/results_true.dat @@ -1,2 +1,2 @@ k-combined: -2.27029660 0.00403683 \ No newline at end of file +2.27029660 0.00403683 diff --git a/tests/test_reflective_sphere/results.py b/tests/test_reflective_sphere/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_reflective_sphere/results.py +++ b/tests/test_reflective_sphere/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_reflective_sphere/results_true.dat b/tests/test_reflective_sphere/results_true.dat index f5fc348214..1330618080 100644 --- a/tests/test_reflective_sphere/results_true.dat +++ b/tests/test_reflective_sphere/results_true.dat @@ -1,2 +1,2 @@ k-combined: -2.27701025 0.00486242 \ No newline at end of file +2.27701025 0.00486242 diff --git a/tests/test_rotation/results.py b/tests/test_rotation/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_rotation/results.py +++ b/tests/test_rotation/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_rotation/results_true.dat b/tests/test_rotation/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_rotation/results_true.dat +++ b/tests/test_rotation/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_salphabeta/results.py b/tests/test_salphabeta/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_salphabeta/results.py +++ b/tests/test_salphabeta/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_salphabeta/results_true.dat b/tests/test_salphabeta/results_true.dat index 5a0ce011b2..1f9694c5cb 100644 --- a/tests/test_salphabeta/results_true.dat +++ b/tests/test_salphabeta/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.86084578 0.00787947 \ No newline at end of file +0.86084578 0.00787947 diff --git a/tests/test_salphabeta_multiple/results.py b/tests/test_salphabeta_multiple/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_salphabeta_multiple/results.py +++ b/tests/test_salphabeta_multiple/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_salphabeta_multiple/results_true.dat b/tests/test_salphabeta_multiple/results_true.dat index f34b8226c6..97506fb64e 100644 --- a/tests/test_salphabeta_multiple/results_true.dat +++ b/tests/test_salphabeta_multiple/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.97104592 0.02819879 \ No newline at end of file +0.97104592 0.02819879 diff --git a/tests/test_seed/results.py b/tests/test_seed/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_seed/results.py +++ b/tests/test_seed/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_seed/results_true.dat b/tests/test_seed/results_true.dat index 36601ff254..26893f040f 100644 --- a/tests/test_seed/results_true.dat +++ b/tests/test_seed/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.29827380 0.00514217 \ No newline at end of file +0.29827380 0.00514217 diff --git a/tests/test_source_angle_mono/results.py b/tests/test_source_angle_mono/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_source_angle_mono/results.py +++ b/tests/test_source_angle_mono/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_source_angle_mono/results_true.dat b/tests/test_source_angle_mono/results_true.dat index 75a1ebab82..a605daa178 100644 --- a/tests/test_source_angle_mono/results_true.dat +++ b/tests/test_source_angle_mono/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.29570992 0.00263411 \ No newline at end of file +0.29570992 0.00263411 diff --git a/tests/test_source_energy_maxwell/results.py b/tests/test_source_energy_maxwell/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_source_energy_maxwell/results.py +++ b/tests/test_source_energy_maxwell/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_source_energy_maxwell/results_true.dat b/tests/test_source_energy_maxwell/results_true.dat index 793cfc7f4d..d823615b21 100644 --- a/tests/test_source_energy_maxwell/results_true.dat +++ b/tests/test_source_energy_maxwell/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30746423 0.00315919 \ No newline at end of file +0.30746423 0.00315919 diff --git a/tests/test_source_energy_mono/results.py b/tests/test_source_energy_mono/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_source_energy_mono/results.py +++ b/tests/test_source_energy_mono/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_source_energy_mono/results_true.dat b/tests/test_source_energy_mono/results_true.dat index b28e629c00..671081310f 100644 --- a/tests/test_source_energy_mono/results_true.dat +++ b/tests/test_source_energy_mono/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.29971337 0.00466687 \ No newline at end of file +0.29971337 0.00466687 diff --git a/tests/test_source_point/results.py b/tests/test_source_point/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_source_point/results.py +++ b/tests/test_source_point/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_source_point/results_true.dat b/tests/test_source_point/results_true.dat index f67defc9de..bb642fa107 100644 --- a/tests/test_source_point/results_true.dat +++ b/tests/test_source_point/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30140708 0.00767575 \ No newline at end of file +0.30140708 0.00767575 diff --git a/tests/test_statepoint_batch/results.py b/tests/test_statepoint_batch/results.py index 6e18864fa2..f6ea70d44b 100644 --- a/tests/test_statepoint_batch/results.py +++ b/tests/test_statepoint_batch/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_statepoint_batch/results_true.dat b/tests/test_statepoint_batch/results_true.dat index b9482653df..e6177f98d6 100644 --- a/tests/test_statepoint_batch/results_true.dat +++ b/tests/test_statepoint_batch/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30308270 0.00706340 \ No newline at end of file +0.30308270 0.00706340 diff --git a/tests/test_statepoint_interval/results.py b/tests/test_statepoint_interval/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_statepoint_interval/results.py +++ b/tests/test_statepoint_interval/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_statepoint_interval/results_true.dat b/tests/test_statepoint_interval/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_statepoint_interval/results_true.dat +++ b/tests/test_statepoint_interval/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_statepoint_sourcesep/results.py b/tests/test_statepoint_sourcesep/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_statepoint_sourcesep/results.py +++ b/tests/test_statepoint_sourcesep/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_statepoint_sourcesep/results_true.dat b/tests/test_statepoint_sourcesep/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_statepoint_sourcesep/results_true.dat +++ b/tests/test_statepoint_sourcesep/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_survival_biasing/results.py b/tests/test_survival_biasing/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_survival_biasing/results.py +++ b/tests/test_survival_biasing/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_survival_biasing/results_true.dat b/tests/test_survival_biasing/results_true.dat index 3985ae0721..eee5a9a26b 100644 --- a/tests/test_survival_biasing/results_true.dat +++ b/tests/test_survival_biasing/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30213072 0.00916338 \ No newline at end of file +0.30213072 0.00916338 diff --git a/tests/test_trace/results.py b/tests/test_trace/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_trace/results.py +++ b/tests/test_trace/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_trace/results_true.dat b/tests/test_trace/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_trace/results_true.dat +++ b/tests/test_trace/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_translation/results.py b/tests/test_translation/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_translation/results.py +++ b/tests/test_translation/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_translation/results_true.dat b/tests/test_translation/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_translation/results_true.dat +++ b/tests/test_translation/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_uniform_fs/results.py b/tests/test_uniform_fs/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_uniform_fs/results.py +++ b/tests/test_uniform_fs/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_uniform_fs/results_true.dat b/tests/test_uniform_fs/results_true.dat index eb4956f5c0..983f59d9de 100644 --- a/tests/test_uniform_fs/results_true.dat +++ b/tests/test_uniform_fs/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.37562235 0.01141169 \ No newline at end of file +0.37562235 0.01141169 diff --git a/tests/test_universe/results.py b/tests/test_universe/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_universe/results.py +++ b/tests/test_universe/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_universe/results_true.dat b/tests/test_universe/results_true.dat index c4825f272a..e6cac5fe92 100644 --- a/tests/test_universe/results_true.dat +++ b/tests/test_universe/results_true.dat @@ -1,2 +1,2 @@ k-combined: -0.30078030 0.00343315 \ No newline at end of file +0.30078030 0.00343315 diff --git a/tests/test_void/results.py b/tests/test_void/results.py index 8d51105462..f7c8a47fb6 100644 --- a/tests/test_void/results.py +++ b/tests/test_void/results.py @@ -15,7 +15,7 @@ outstr = '' # write out k-combined outstr += 'k-combined:\n' -outstr += "{0:10.8f} {1:10.8f}".format(sp.k_combined[0], sp.k_combined[1]) +outstr += "{0:10.8f} {1:10.8f}\n".format(sp.k_combined[0], sp.k_combined[1]) # write results to file with open('results_test.dat','w') as fh: diff --git a/tests/test_void/results_true.dat b/tests/test_void/results_true.dat index 8408953037..ae85ce03e1 100644 --- a/tests/test_void/results_true.dat +++ b/tests/test_void/results_true.dat @@ -1,2 +1,2 @@ k-combined: -1.00121432 0.01443709 \ No newline at end of file +1.00121432 0.01443709