---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-58-b1fa7bde9488> in <module>()
----> 1 object_attributes(isat)
c:\users\test\documents\github\pynastran\pyNastran\utils\__init__.py in object_attributes(obj, mode, keys_to_skip)
178 if the mode is wrong
179 """
--> 180 return __object_attr(obj, mode, keys_to_skip, lambda x: not isinstance(x, MethodType))
181
182
c:\users\test\documents\github\pynastran\pyNastran\utils\__init__.py in __object_attr(obj, mode, keys_to_skip, attr_type)
121 # if k in keys_to_skip:
122 # continue
--> 123 if check(k) and attr_type(getattr(obj, k)):
124 out.append(k)
125 out.sort()
c:\users\test\documents\github\pynastran\pyNastran\bdf\bdfInterface\attributes.py in convectionProperties(self)
755 @property
756 def convectionProperties(self):
--> 757 self.deprecated('convectionProperties', 'convection_properties', '0.8')
758 return self.convection_properties
759
c:\users\test\documents\github\pynastran\pyNastran\bdf\bdfInterface\attributes.py in deprecated(self, old_name, new_name, deprecated_version)
70 def deprecated(self, old_name, new_name, deprecated_version):
71 """deprecates methods"""
---> 72 return deprecated(old_name, new_name, deprecated_version, levels=[0, 1, 2])
73
74 def __init_attributes(self):
c:\users\test\documents\github\pynastran\pyNastran\bdf\utils.py in deprecated(old_name, new_name, deprecated_version, levels)
804 line_no = frame.f_lineno
805 code = frame.f_code
--> 806 filename = os.path.basename(frame.f_globals['__file__'])
807 print(code)
808 source_lines, line_no0 = inspect.getsourcelines(code)
KeyError: '__file__'