-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Unfortunately, using TransInfo causes deprecation errors about the Dynamo0p3 naming of Transformations. @hiker said this patch will fix it:
git diff psyGen.py
diff --git a/src/psyclone/psyGen.py b/src/psyclone/psyGen.py
index 3bf18fb849..748eff21ef 100644
--- a/src/psyclone/psyGen.py
+++ b/src/psyclone/psyGen.py
@@ -2701,7 +2701,8 @@ class TransInfo():
import inspect
return [cls for name, cls in inspect.getmembers(module)
if inspect.isclass(cls) and not inspect.isabstract(cls) and
- issubclass(cls, base_class) and cls is not base_class]
+ issubclass(cls, base_class) and cls is not base_class
+ and name[:9] != "Dynamo0p3"]
@dataclass