some modules fail to be loaded when i call a class from a python file
Asked by
JOHN
Good evening,
I have the following problem
I have a python script that calls yade functions from another file.
When the other file just has the functions defined as functions (def etc) everything runs correctly
When i wrap the functions in a class i can run the yade engine and some packings, but for example
pred = inGtsSurface(s) this line cases the error message
NameError: global name 'inGtsSurface' is not defined
And some more seemingly random functionalities fail.
Any ideas/tests you want me to run
Will be more than welcome
Thanks!
John
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.