-
Notifications
You must be signed in to change notification settings - Fork 3
Issue#32 #41
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
base: main
Are you sure you want to change the base?
Issue#32 #41
Conversation
@@ -82,6 +84,27 @@ def __init__(self, | |||
Whether to set logging level to "DEBUG" and | |||
use threads instead of processes | |||
""" | |||
|
|||
def run(self): |
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.
What is this doing here? @Orange99
|
||
|
||
class EventStash: | ||
def __init__(self, | ||
index_offset: int, | ||
feat_nevents: List[int]): | ||
"""Sort events into predefined arrays for bulk access | ||
"""Sorts events into predefined arrays for bulk access. |
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.
The original doc-string was better. Always use imperative language. Don't append a dot. @Orange99
@@ -194,7 +182,118 @@ def run(self): | |||
|
|||
if len(cur_nevents) == 0: | |||
self.logger.info( | |||
"Reached dataset end (frame " | |||
# Reached dataset end (frame |
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.
This line was part of the log message.
""" | ||
self.events = {} | ||
"""Dictionary containing the event arrays""" |
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.
Don't remove existing doc strings!
No description provided.