haosulab / ManiSkill2-Learn

Apache License 2.0
77 stars 15 forks source link

Update dict_array.py #2

Closed Xingyu-Lin closed 1 year ago

Xingyu-Lin commented 1 year ago

A pycharm debugger will loop through each attribute of a class. Before the fix, these properties return a GDict and the GDict has its own set of properties. As such, I made these changes in my codebase to prevent pycharm debugger from looping in these property queries. A few other references should be changed from GDict.shape.memory to GDict.shape. I hope this helps.

xuanlinli17 commented 1 year ago

Thanks for pointing this out!