timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
117 stars 63 forks source link

failed to write starfit summary file for single. #121

Open chhailarishi opened 4 years ago

chhailarishi commented 4 years ago

Hi sir, I am getting following error, In past i used the same "star.ini" files to run starfit program using the dartmouth isochrones. Now, with MIST, the starfit summary is not writing results. Am i missing something here. Terminal output

$ starfit-summarize Holoviews not imported. Some visualizations will not be available. ERROR:root:failed to write starfit summary file for single. Traceback (most recent call last): File "/home/rishi/.local/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2646, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'mass_0_0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/rishi/.local/bin/starfit-summarize", line 98, in med, lo, hi = samples[df_prop].quantile([0.5, File "/home/rishi/.local/lib/python3.6/site-packages/pandas/core/frame.py", line 2800, in getitem indexer = self.columns.get_loc(key) File "/home/rishi/.local/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2648, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item KeyError: 'mass_0_0'

Thanks, Rishi