Closed patricknaughton01 closed 2 years ago
It looks like the variable names for extensionToTypes, typeToExtensions, and unsupportedJsonTypes were changed in 0.9 to EXTENSION_TO_TYPES (and similar for the other two). https://github.com/krishauser/Klampt/blob/6650ddd1ce0a0ecfc1d9e6b28f56cd1f70036132/Python/klampt/io/loader.py#L27
extensionToTypes
typeToExtensions
unsupportedJsonTypes
EXTENSION_TO_TYPES
This breaks compatibility with old versions of Klampt, noticed here in alexandria.py in the TRINA repo https://github.com/uiuc-iml/TRINA/blob/6240035ef745c7a3eeeb9c14136aaf62923f159c/trina_devel/actions/alexandria.py#L12
alexandria.py
Is this intended?
Ah, I didn’t realize these constants were being used. It would be better to deprecate them incrementally, then.
Fixed in most recent push to 0.9.
It looks like the variable names for
extensionToTypes
,typeToExtensions
, andunsupportedJsonTypes
were changed in 0.9 toEXTENSION_TO_TYPES
(and similar for the other two). https://github.com/krishauser/Klampt/blob/6650ddd1ce0a0ecfc1d9e6b28f56cd1f70036132/Python/klampt/io/loader.py#L27This breaks compatibility with old versions of Klampt, noticed here in
alexandria.py
in the TRINA repo https://github.com/uiuc-iml/TRINA/blob/6240035ef745c7a3eeeb9c14136aaf62923f159c/trina_devel/actions/alexandria.py#L12Is this intended?