Skip to content

v0.4.5

Compare
Choose a tag to compare
@f0uriest f0uriest released this 02 Jun 18:57
· 12041 commits to master since this release
1798c1e

Bug fixes:

  • Fix bug in pickle IO that prevented objects with jitted attributes from being saved, pickling now only saves essential information.

Changes:

  • Added generic load function for loading objects without knowing what class they are
  • Removed usage of "==" operator between DESC objects in favor of obj1.eq(obj2). Equivalence is defined as "if saved and loaded, the two objects would be the same," so it ignores equality in trivially recomputeable attributes and focuses on the actual physics of the objects being compared.
  • Concentric grids are now up-down symmetric when symmetry is not enforced

Backend:

  • Remove object_lib from io, instead, now use built in dynamic importing to import the correct classes at runtime
  • Avoids needing to import classes in lots of files just so they can be in the object_lib, makes adding new stuff a lot easier.
  • Changed name in io stuff to class to avoid conflicts with actual name attributes