News:

alphaMELTS 1.9 is available at the download and information site.
alphaMELTS 2 standalone & for MATLAB/Python are available on request
(see the Version 2 tab on the download site for more details).
For news of all MELTS software see the MELTS Facebook page.

Main Menu

How to specify the output files in MELTS for python?

Started by oliviahogg, October 04, 2022, 01:17:41 AM

Previous topic - Next topic

oliviahogg

I am running RhyoliteMELTS through my jupyter notebook and the main output files are: Liquid_comp_tbl.txt, Bulk_comp_tbl.txt, Solid_comp_tbl.txt, Pahse_main_tbl.txt, System_main_tbl.txt.

I'd like the code to return the Phase_mass_tbl.txt and Phase_vol_tbl.txt files in addition to the above but I am not sure on the commands needed to do this or whether these outputs are specifically for alphaMELTS and not MELTS for python.

Any guidance would be much appreciated :)

Paula

It's actually the Perl script that writes those files. If you have alphaMELTS 2 installed (which in your case, I know you have) then after the run finishes open a terminal. Navigate to where the output files are and type:

run-alphamelts.command -x

That will process the Phase_main_tbl.txt file and generate the last two files without doing any further calculations.

Paula