Closed dnarayanan closed 3 years ago
after a yt slack conversation with Britton Smith, he mentioned that "i think field access by string (i.e., not tuple) has been outlawed" . In other words, instead of:
ds.add_field(('starmetals'), function=_starmetals, ....
we would want:
ds.add_field(('PartType4','starmetals'),function=....
so we unfortunately need to go through all the front ends, and not only clean up this nomenclature, but all nomenclature downstream that called single string name (e.g. starmetals
) fields. to keep it general, I suggest something like:
ds.add_field(('stars','starmetals')...
fixed by f1998053de53424ea6880984797db65b8a0dbd7d
First known bad hash in yt4.0 (main branch)
last known good hash:
the code is choking on the very first field addition:
so I'm guessing that something in the nomenclature for adding fields has changed. a
git bisect
would get us there.