Currently the get_metals function in get_met_ages_values takes the metallicity value of the file from the name of the file.
It would be simpler if the metallicity would be read from the information stored inside the file, so as to lift the restriction about the names of the isochrones.
This would also take care of another issue: on Windows system the decimal dot that is needed in the metallicity files (ie: 0.0019.dat) could cause problems.
Having a random file name and obtaining the metallicity values from within the file would make this go away.
Currently the
get_metals
function inget_met_ages_values
takes the metallicity value of the file from the name of the file.It would be simpler if the metallicity would be read from the information stored inside the file, so as to lift the restriction about the names of the isochrones.
This would also take care of another issue: on Windows system the decimal dot that is needed in the metallicity files (ie: 0.0019.dat) could cause problems.
Having a random file name and obtaining the metallicity values from within the file would make this go away.
Related #133(closed)