You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running run_model.py, I get the following traceback. It seems to be that the initial guess list has length 5, but when this is unpacked in CatChemi, it's expecting a length of 3. Changing EPS_A_VALUES to a List[float] rather than List[List[float]] resolves the issue, so it's just related to when one wants to use multiple values for eps_a for a given adsorbate.
Hi @arosen93 ! My guess is that the error comes from the fact that I updated CatChemi over the weekend sometime with the commits that allow running adsorbates like CO, with two different $\epsilon_a$ values. If you pulled the latest version of CatChemi does it work?
Hi @sudarshanv01! Odd! Yup, I just tried again and git clone'd the current main branch of CatChemi but still get the ValueError: too many values to unpack. This is with just doing python run_model.py for clarity. If it seems like this shouldn't be happening in the main branch, we can chat in person about it too.
When running
run_model.py
, I get the following traceback. It seems to be that the initial guess list has length 5, but when this is unpacked inCatChemi
, it's expecting a length of 3. ChangingEPS_A_VALUES
to aList[float]
rather thanList[List[float]]
resolves the issue, so it's just related to when one wants to use multiple values for eps_a for a given adsorbate.The text was updated successfully, but these errors were encountered: