PennyWieser / Thermobar

Python thermobarometry tool
41 stars 10 forks source link

pandas getting fussier about indexs matching. #34

Open PennyWieser opened 1 year ago

PennyWieser commented 1 year ago

When doing revisions on Bar review, had to add reindex

HT_Pet_Mas[i]=pt.calculate_fspar_liq_hygr(plag_comps=myPlags1.loc[Filt].reset_index(drop=True), 
                                       liq_comps=myLiquids1.loc[Filt].reset_index(drop=True),
                                      equationH="H_Masotta2019", 
                                       P=Plag_Glass['P_kbar_x'].loc[Filt].reset_index(drop=True),
                                      T=Plag_Glass['T_K_x'].loc[Filt].reset_index(drop=True)+delta_T_lin[i]).H2O_calc