Skip to content

Commit

Permalink
Remove '#' from output
Browse files Browse the repository at this point in the history
pandas allways fails to ignore it
  • Loading branch information
rjfarmer committed Jun 29, 2023
1 parent 7e7a48a commit 0d7bbd7
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/lib_hydrostatic.f90
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ subroutine hydrostatic_setup(bbq_in, hydrostatic_in, in, out)

open(newunit=fout,file=hydrostatic_in% output_filename,status='replace',action='write')

write(fout,'(A)',advance='no') '# age dt '
write(fout,'(A)',advance='no') 'age dt '

!Write header
call write_iso_names(bbq_in, fout)
Expand Down
2 changes: 1 addition & 1 deletion src/lib_profile.f90
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ subroutine profile_setup(bbq_in, profile_in, in)

open(newunit=fout,file=profile_in% output_filename,status='replace',action='write')

write(fout,'(A)',advance='no') '# age dt logt logrho '
write(fout,'(A)',advance='no') 'age dt logt logrho '

!Write header
call write_iso_names(bbq_in, fout)
Expand Down
4 changes: 2 additions & 2 deletions src/lib_random.f90
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@ subroutine random_setup(bbq_in, random_in)
species = bbq_in% state% species

!Write header
write(fout,'(A)',advance='no') '# id eps_nuc eps_neu '
write(fout,'(A)',advance='no') 'id eps_nuc eps_neu '
call write_iso_names(bbq_in, fout)
close(fout)

!Write header
write(fin,'(A)',advance='no') '# id dt logt logrho '
write(fin,'(A)',advance='no') 'id dt logt logrho '
call write_iso_names(bbq_in, fin)
close(fin)
end if
Expand Down
2 changes: 1 addition & 1 deletion src/lib_sampler.f90
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ subroutine sampler_setup(bbq_in, sample_in)

open(newunit=fout,file=sample_in% output_filename,status='replace',action='write')

write(fout,'(A)',advance='no') '# id eps_nuc eps_neu '
write(fout,'(A)',advance='no') 'id eps_nuc eps_neu '
call write_iso_names(bbq_in, fout)
close(fout)

Expand Down
8 changes: 4 additions & 4 deletions tests/big_net/reference_out.txt

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/hydrostatic/reference_out.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# age dt neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
age dt neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
0.0000000000000000E+00 1.0000000000000001E-05 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02
1.0000000000000001E-05 1.0000000000000001E-05 4.7619047560093344E-02 5.5551266778151753E-02 4.7619047560181385E-02 1.2859047927190006E-05 7.9287799940964201E-02 8.5433136436914380E-11 1.0301809422281753E-01 4.7614346682885590E-02 4.7846899675276430E-02 4.7620165265609186E-02 4.7619983593056643E-02 4.7619061253079714E-02 4.7619047835166343E-02 4.7619047578086250E-02 4.7619047560394860E-02 4.7619047560187672E-02 4.7619047560137365E-02 4.7619047560139259E-02 4.7619047560137365E-02 4.7619047561139341E-02 4.7619047559135388E-02
2.2589254117941679E-05 1.2589254117941680E-05 4.7619047554076234E-02 5.5553653025523814E-02 4.7619047554275103E-02 5.6933775883773456E-06 7.9205261774503960E-02 8.5249675601087907E-11 1.0281916011543804E-01 4.7608430084556945E-02 4.8136452158262816E-02 4.7621585329717685E-02 4.7621161807906098E-02 4.7619078482869205E-02 4.7619048175384905E-02 4.7619047594716558E-02 4.7619047554759313E-02 4.7619047554289549E-02 4.7619047554175668E-02 4.7619047554178943E-02 4.7619047554175668E-02 4.7619047556438678E-02 4.7619047551912659E-02
Expand Down
6 changes: 3 additions & 3 deletions tests/ni56/reference_out.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id eps_nuc eps_neu neut h1 he4 fe56 co56 ni56
id eps_nuc eps_neu neut h1 he4 fe56 co56 ni56
1 3.9104359135189331E+10 9.4759628863660927E+09 1.0000000000000010E-30 1.0010990058394332E-30 4.0000000000000038E-30 6.8602483701012932E-14 1.3202351251955114E-06 9.9999867976480616E-01
2 3.9104214227483771E+11 9.4758685564857998E+09 1.0000000000000004E-30 1.0109900583943250E-30 4.0000000000000024E-30 6.8602190599063206E-12 1.3202266642093515E-05 9.9998679772649768E-01
3 3.9102757165372666E+12 9.4749253184223919E+09 1.0000000000000462E-30 1.1099005839360311E-30 4.0000000000000024E-30 6.8599259675887778E-10 1.3201420580550807E-04 9.9986798510820185E-01
Expand All @@ -8,5 +8,5 @@
7 2.6881557774634612E+16 3.5899576548007798E+09 1.0726554955950685E-30 8.3941564603882860E-28 4.0000000000000073E-30 4.4517376234267339E-02 6.8841037574422903E-01 2.6707224802150364E-01
8 7.9347523658977296E+16 5.9142622259270227E+08 6.2016274231914311E-31 4.9438482666533045E-27 4.0000000003768291E-30 6.1605613977166929E-01 3.8394201395115518E-01 1.8462771755510594E-06
9 1.1545910141854019E+17 5.0807330264206328E+04 1.1228389280264360E-31 1.3423075431119324E-26 3.9999996886383087E-30 9.9996671735293230E-01 3.3282647067577129E-05 5.6011773337182333E-29
10 1.1546680042547589E+17 5.1049343705206033E-16 1.8776687445761151E-34 2.4600818801057173E-26 3.9999996889152543E-30 1.0000000000000000E+00 9.8287582926079596E-29 8.2664666695547084E-30
11 1.1546680042547589E+17 5.1049343705206033E-16 1.8776687445761151E-34 2.4600818801057173E-26 3.9999996889152543E-30 1.0000000000000000E+00 9.8287582926079596E-29 8.2664666695547084E-30
10 1.1546680042547589E+17 5.1049343705206033E-16 1.8776688906046527E-34 2.4600820714292189E-26 4.0000000000000003E-30 1.0000000000000000E+00 9.8287590570022140E-29 8.2664673124476797E-30
11 1.1546680042547589E+17 5.1049343705206033E-16 1.8776688906046527E-34 2.4600820714292189E-26 4.0000000000000003E-30 1.0000000000000000E+00 9.8287590570022140E-29 8.2664673124476797E-30
2 changes: 1 addition & 1 deletion tests/profile/reference_out.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# age dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
age dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
0.0000000000000000E+00 1.0000000000000000E+01 8.0000000000000000E+00 2.0000000000000000E+00 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02 4.7619047619047616E-02
1.0000000000000000E+01 1.0000000000000000E+01 8.0000000000000000E+00 2.0000000000000000E+00 4.7618793397116659E-02 6.2370924615415504E-02 4.7618793397116659E-02 3.3200556725192115E-03 7.7160240630846019E-02 4.7555551951312947E-02 4.7692871238827678E-02 4.7618454934328140E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618793397116659E-02 4.7618795110463803E-02 4.7618791683769528E-02
2.0000000000000000E+01 1.0000000000000000E+01 7.0000000000000000E+00 2.0000000000000000E+00 4.7618793397116707E-02 6.2370924615415900E-02 4.7618793397116707E-02 3.3200556725182552E-03 7.7160240630846769E-02 4.7555551951312995E-02 4.7692871238827726E-02 4.7618454934328189E-02 4.7618793397116707E-02 4.7618793397116714E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7618793397116714E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7618793397116707E-02 4.7619421421927481E-02 4.7618165372305947E-02
Expand Down
2 changes: 1 addition & 1 deletion tests/random/reference_out.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id eps_nuc eps_neu neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
id eps_nuc eps_neu neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
1 1.5133073182562207E+18 6.9506523423601280E+17 1.8964476138501314E-22 2.4393228762584168E-01 2.2622680396602313E-24 2.6259935242501664E-01 4.8786457476509365E-01 4.7534693344153373E-10 1.0810817460390623E-12 1.2651153469520424E-20 1.5345174431894418E-05 5.4661195812026808E-03 8.4351790799878751E-11 1.5147210230673679E-20 1.3918314193476232E-22 2.3418925824997108E-24 2.6366814241540588E-20 6.6844086701391986E-27 8.7611740089090932E-06 5.6711462862781041E-14 1.1349078680431548E-04 6.7906763555344447E-08 1.1784962202390616E-27
2 1.3880316891074665E+03 3.1712456970484811E-06 3.3587691007945591E-17 -2.9259016320267486E-21 1.2806194715779346E-17 4.2374913706818590E-23 4.4309902079486845E-16 1.3291275250016501E-15 9.9547112818089600E-01 4.5280996379374015E-03 5.8595777493632294E-07 2.0765239091683872E-13 1.8618886141098343E-07 7.9404875740847182E-12 3.3072460946982680E-20 2.8955912426258064E-19 1.6073188128321150E-22 5.5570764973102831E-20 2.6368988892605971E-11 1.2768667779345442E-19 5.9834809652231056E-29 1.1284600932996321E-14 8.3892480230276624E-26
3 1.3869984796904458E+02 1.5873797270021928E+05 4.1113161110796248E-29 2.2488704774302959E-01 2.6811483392577372E-15 4.6924476251608821E-22 3.5912904557494163E-01 6.1226045751857765E-17 6.3547587091158330E-10 6.8139883618960732E-23 1.1674388840444538E-14 4.1598182071686568E-01 1.8710785966632977E-16 1.9233228798195898E-10 5.4661792984113142E-19 8.4185859706578317E-18 1.4682536415379016E-08 1.2538832766501541E-25 1.2012283048911718E-06 8.6922649881282516E-07 4.7864417374796851E-28 5.6000000000003749E-29 5.9605250362640108E-27
Expand Down
2 changes: 1 addition & 1 deletion tests/random/reference_start.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
1 1.0091238953979965E-12 9.0491742039705834E+00 7.3542353215257661E+00 1.8964476138512150E-22 1.0187372180039441E-18 2.2622680396615236E-24 9.9439621530443401E-01 1.2327820076499303E-14 4.3133468969669259E-14 2.7188917631841626E-22 8.5893573425856730E-27 1.5345174743228242E-05 5.4661196531335856E-03 1.9151478086110474E-16 1.2106070249098021E-22 1.3918314187993531E-22 2.3418925823283414E-24 2.6366814241555670E-20 6.6844085339182956E-27 8.7611740089140991E-06 5.6711462862813448E-14 1.1349078680438033E-04 6.7906763555383239E-08 1.1784913275567776E-27
2 2.9384128596132246E-06 8.2620173172244407E+00 8.6252541177196189E+00 3.3587681060900223E-17 2.2486974636500427E-16 1.2806204662824723E-17 1.5739387044097019E-23 3.6498196265181340E-30 7.6473931090004126E-30 9.9547112818089745E-01 4.5280996379374067E-03 5.8595777493632167E-07 2.0765239091683892E-13 1.8618886141098364E-07 7.9404875740847263E-12 3.3072460946982716E-20 2.8955912426258098E-19 1.6073188128321171E-22 5.5570764973102891E-20 2.6368988892606000E-11 1.2768667779345457E-19 5.9834809652231123E-29 1.1284600932996334E-14 8.3892551523640236E-26
3 2.7914075503186928E-07 8.6585580746568311E+00 1.9278067078950267E+00 4.1113161106507956E-29 2.2488704774302970E-01 2.6811483392577384E-15 2.6918566906848504E-28 3.5912904557494180E-01 5.8624696059914595E-18 6.3547587161568791E-10 2.2823701581414077E-25 1.1674296481731940E-14 4.1598182071686585E-01 2.8511849283274604E-25 1.9233228798195906E-10 5.4661792983950603E-19 8.4185859706578348E-18 1.4682536415379021E-08 1.2538832761283026E-25 1.2012283048911725E-06 8.6922649881282559E-07 4.7864417374796869E-28 4.4372862466341798E-30 5.9605250362356810E-27
Expand Down
2 changes: 1 addition & 1 deletion tests/random/start.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
1 1.0091238953979965E-12 9.0491742039705834E+00 7.3542353215257661E+00 1.8964476138512150E-22 1.0187372180039441E-18 2.2622680396615236E-24 9.9439621530443401E-01 1.2327820076499303E-14 4.3133468969669259E-14 2.7188917631841626E-22 8.5893573425856730E-27 1.5345174743228242E-05 5.4661196531335856E-03 1.9151478086110474E-16 1.2106070249098021E-22 1.3918314187993531E-22 2.3418925823283414E-24 2.6366814241555670E-20 6.6844085339182956E-27 8.7611740089140991E-06 5.6711462862813448E-14 1.1349078680438033E-04 6.7906763555383239E-08 1.1784913275567776E-27
2 2.9384128596132246E-06 8.2620173172244407E+00 8.6252541177196189E+00 3.3587681060900223E-17 2.2486974636500427E-16 1.2806204662824723E-17 1.5739387044097019E-23 3.6498196265181340E-30 7.6473931090004126E-30 9.9547112818089745E-01 4.5280996379374067E-03 5.8595777493632167E-07 2.0765239091683892E-13 1.8618886141098364E-07 7.9404875740847263E-12 3.3072460946982716E-20 2.8955912426258098E-19 1.6073188128321171E-22 5.5570764973102891E-20 2.6368988892606000E-11 1.2768667779345457E-19 5.9834809652231123E-29 1.1284600932996334E-14 8.3892551523640236E-26
3 2.7914075503186928E-07 8.6585580746568311E+00 1.9278067078950267E+00 4.1113161106507956E-29 2.2488704774302970E-01 2.6811483392577384E-15 2.6918566906848504E-28 3.5912904557494180E-01 5.8624696059914595E-18 6.3547587161568791E-10 2.2823701581414077E-25 1.1674296481731940E-14 4.1598182071686585E-01 2.8511849283274604E-25 1.9233228798195906E-10 5.4661792983950603E-19 8.4185859706578348E-18 1.4682536415379021E-08 1.2538832761283026E-25 1.2012283048911725E-06 8.6922649881282559E-07 4.7864417374796869E-28 4.4372862466341798E-30 5.9605250362356810E-27
Expand Down
2 changes: 1 addition & 1 deletion tests/restart_random/reference_out.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id eps_nuc eps_neu neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
id eps_nuc eps_neu neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
1 1.5133073182562207E+18 6.9506523423601280E+17 1.8964476138512150E-22 2.4393228762598104E-01 2.2622680396615236E-24 2.6259935242516669E-01 4.8786457476537237E-01 4.7534693344180536E-10 1.0810817460396798E-12 1.2651153469527652E-20 1.5345174431903186E-05 5.4661195812058033E-03 8.4351790799926948E-11 1.5147210230682334E-20 1.3918314193484183E-22 2.3418925825010487E-24 2.6366814241555652E-20 6.6844086701430169E-27 8.7611740089140991E-06 5.6711462862813441E-14 1.1349078680438031E-04 6.7906763555383239E-08 1.1784962202397349E-27
2 1.3880316891074665E+03 3.1712456970484811E-06 3.3587691007945628E-17 -2.9259016320267520E-21 1.2806194715779360E-17 4.2374913706818637E-23 4.4309902079486894E-16 1.3291275250016515E-15 9.9547112818089711E-01 4.5280996379374067E-03 5.8595777493632357E-07 2.0765239091683895E-13 1.8618886141098364E-07 7.9404875740847263E-12 3.3072460946982716E-20 2.8955912426258098E-19 1.6073188128321168E-22 5.5570764973102891E-20 2.6368988892606000E-11 1.2768667779345457E-19 5.9834809652231123E-29 1.1284600932996334E-14 8.3892480230276716E-26
3 1.3869984796904458E+02 1.5873797270021928E+05 4.1113161110796265E-29 2.2488704774302970E-01 2.6811483392577384E-15 4.6924476251608840E-22 3.5912904557494180E-01 6.1226045751857790E-17 6.3547587091158361E-10 6.8139883618960767E-23 1.1674388840444543E-14 4.1598182071686585E-01 1.8710785966632985E-16 1.9233228798195906E-10 5.4661792984113171E-19 8.4185859706578348E-18 1.4682536415379022E-08 1.2538832766501546E-25 1.2012283048911725E-06 8.6922649881282559E-07 4.7864417374796869E-28 5.6000000000003771E-29 5.9605250362640137E-27
Expand Down
2 changes: 1 addition & 1 deletion tests/restart_random/reference_start.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
id dt logt logrho neut h1 prot he3 he4 c12 n14 o16 ne20 mg24 si28 s32 ar36 ca40 ti44 cr48 cr56 fe52 fe54 fe56 ni56
1 1.0091238953979965E-12 9.0491742039705834E+00 7.3542353215257661E+00 1.8964476138512150E-22 1.0187372180039441E-18 2.2622680396615236E-24 9.9439621530443401E-01 1.2327820076499303E-14 4.3133468969669259E-14 2.7188917631841626E-22 8.5893573425856730E-27 1.5345174743228242E-05 5.4661196531335856E-03 1.9151478086110474E-16 1.2106070249098021E-22 1.3918314187993531E-22 2.3418925823283414E-24 2.6366814241555670E-20 6.6844085339182956E-27 8.7611740089140991E-06 5.6711462862813448E-14 1.1349078680438033E-04 6.7906763555383239E-08 1.1784913275567776E-27
2 2.9384128596132246E-06 8.2620173172244407E+00 8.6252541177196189E+00 3.3587681060900223E-17 2.2486974636500427E-16 1.2806204662824723E-17 1.5739387044097019E-23 3.6498196265181340E-30 7.6473931090004126E-30 9.9547112818089745E-01 4.5280996379374067E-03 5.8595777493632167E-07 2.0765239091683892E-13 1.8618886141098364E-07 7.9404875740847263E-12 3.3072460946982716E-20 2.8955912426258098E-19 1.6073188128321171E-22 5.5570764973102891E-20 2.6368988892606000E-11 1.2768667779345457E-19 5.9834809652231123E-29 1.1284600932996334E-14 8.3892551523640236E-26
3 2.7914075503186928E-07 8.6585580746568311E+00 1.9278067078950267E+00 4.1113161106507956E-29 2.2488704774302970E-01 2.6811483392577384E-15 2.6918566906848504E-28 3.5912904557494180E-01 5.8624696059914595E-18 6.3547587161568791E-10 2.2823701581414077E-25 1.1674296481731940E-14 4.1598182071686585E-01 2.8511849283274604E-25 1.9233228798195906E-10 5.4661792983950603E-19 8.4185859706578348E-18 1.4682536415379021E-08 1.2538832761283026E-25 1.2012283048911725E-06 8.6922649881282559E-07 4.7864417374796869E-28 4.4372862466341798E-30 5.9605250362356810E-27
Expand Down
Loading

0 comments on commit 0d7bbd7

Please sign in to comment.