-
Notifications
You must be signed in to change notification settings - Fork 618
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
Update fix assert error messages in base_iterator.py #4726
Update fix assert error messages in base_iterator.py #4726
Conversation
305f6e8
to
167101d
Compare
Hi @machineko, Well spotted. Thank you for the fix. |
!build |
CI MESSAGE: [7646190]: BUILD STARTED |
CI MESSAGE: [7646190]: BUILD FAILED |
@@ -215,7 +215,7 @@ def _extract_from_reader_and_validate(self): | |||
readers_meta = [p.reader_meta(self._reader_name) for p in self._pipes] | |||
|
|||
def err_msg_gen(err_msg): | |||
'Reader Operator should have the same {} in all the pipelines.'.format(err_msg) | |||
return 'Reader Operator should have the same {} in all the pipelines.'.format(err_msg) |
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.
Can you please check the linter complain?
#14 22.48 Performing Python linter check
#14 25.60 /opt/dali/dali/python/nvidia/dali/plugin/base_iterator.py:218:101: E501 line too long (102 > 100 characters)
#14 25.60 1 E501 line too long (102 > 100 characters)
#14 25.60 1```
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.
should be fixed right now
!build |
Signed-off-by: machineko <machineko@protonmail.com>
Signed-off-by: machineko <machineko@protonmail.com>
185e251
to
927516b
Compare
CI MESSAGE: [7646361]: BUILD STARTED |
CI MESSAGE: [7646361]: BUILD FAILED |
CI MESSAGE: [7646361]: BUILD PASSED |
Category:
Bug fix (non-breaking change which fixes an issue)
Description:
Function without return always return None so error have no information about missing metadata
before
after
Tests:
Documentation