-
Notifications
You must be signed in to change notification settings - Fork 4
Add MCAP support and use osi-python #25
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
a0de251 to
5fe03e2
Compare
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
5fe03e2 to
5fe9385
Compare
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
5fe9385 to
7af3060
Compare
TimmRuppert
left a comment
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.
Except the two code suggestions looks good and works fine: I created some test files using the asam-osi-utilities/tree/main/examples and issues were found/not found as expected.
Thanks for all the contributions!
| config.get_config_param("InputFile"), | ||
| config.get_config_param("osiType"), | ||
| False, | ||
| config.get_config_param("osiTopic"), |
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.
| config.get_config_param("InputFile"), | |
| config.get_config_param("osiType"), | |
| False, | |
| config.get_config_param("osiTopic"), | |
| path= config.get_config_param("InputFile"), | |
| type_name = config.get_config_param("osiType"), | |
| cache_messages = False, | |
| topic = config.get_config_param("osiTopic"), |
I know you wanted a review that it works but I could not resist to also look at the code ;)
As we just changed the interface and this priject also follows the latest osi python main I would recommend to change to keywords (to even fail a little bit earlier and more clear).
| config.get_config_param("InputFile"), | ||
| expected_type_name, | ||
| False, | ||
| config.get_config_param("osiTopic"), |
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.
Same as above
| config.get_config_param("InputFile"), | |
| expected_type_name, | |
| False, | |
| config.get_config_param("osiTopic"), | |
| path= config.get_config_param("InputFile"), | |
| type_name = expected_type_name, | |
| cache_messages = False, | |
| topic = config.get_config_param("osiTopic"), |
Add tests to ensure topic is correctly ignored for single trace files, also fix formatting error in related_to code. Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
Switches to osi-python bindings for transparent MCAP support