Closed OClarkson closed 6 years ago
utils.iniabu now takes two arguments, filename and filetype. filetype = 'iniabu.ppn' or 'iso_massf'
please test the iso_massf option with something like ...
from nugridpy import utils as u from nugridpy import ascii_table as at
a=u.iniabu('iso_massf00001.DAT' ,filetype='iso_massf')
sa = {}
sa['n 15']=0.01 sa['li 7']=0.05
a.set_and_normalize(sa) a.write('p_ini_test.dat', 'this is a test')
then have ppn run this with iabuini option 100
utils.iniabu now takes two arguments, filename and filetype. filetype = 'iniabu.ppn' or 'iso_massf'
please test the iso_massf option with something like ...
from nugridpy import utils as u from nugridpy import ascii_table as at
a=u.iniabu('iso_massf00001.DAT' ,filetype='iso_massf')
sa = {}
sa['n 15']=0.01 sa['li 7']=0.05
a.set_and_normalize(sa) a.write('p_ini_test.dat', 'this is a test')
then have ppn run this with iabuini option 100