-
Notifications
You must be signed in to change notification settings - Fork 84
Forth based ROOT reader (revised) #636
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
Conversation
| read_member_n.append( | ||
| """ | ||
| forth = False | ||
| forth_obj = None | ||
| fcode_pre = [] | ||
| fcode_post = [] | ||
| temp = None | ||
| if "forth" in context.keys(): | ||
| forth = True | ||
| forth_obj = context["forth"] | ||
| key = forth_obj.get_key()\n""" | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you don't want to put code into the read_member_n, which is for the memberwise format. (Unless a particular type has memberwise implemented in Python as well.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm in favor of merging this! I made a lot of comments above, but they can be dealt with in subsequent PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved! (In person.)
* put in control flow * revised version works * fixed bug in control flow * added test-file * changes to be made in asArray and model.py * WIP * made changes to support multiple read operations on the same class * array of TrefArrays works * added test for array of trefarray * removes stray import * added some string generation for forth in streamers.py * linting * Added a new helper class and incorporated review suggestions
No description provided.