Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data structures/ namedtuples / structrefs #36

Open
thomasdkelly opened this issue Feb 7, 2022 · 1 comment
Open

data structures/ namedtuples / structrefs #36

thomasdkelly opened this issue Feb 7, 2022 · 1 comment
Labels
code structure changes to code structure, data containers, function arguments

Comments

@thomasdkelly
Copy link
Collaborator

Some more of the python classess (e.g. FieldMngtClass) still need to be changed into namedtuples.

numba structref currently does not support getting or mutating attributes inside purely python code. This is neccessary for the NewCond data structure as this needs to be accessed and mutated inside both python and AOT compiled code.

@thomasdkelly thomasdkelly added the code structure changes to code structure, data containers, function arguments label Feb 7, 2022
@thomasdkelly
Copy link
Collaborator Author

Lots of duplicate classes (e.g. CropStruct) are no longer used as it is a named tuple. These can now be removed from the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code structure changes to code structure, data containers, function arguments
Projects
None yet
Development

No branches or pull requests

1 participant