-
Notifications
You must be signed in to change notification settings - Fork 23
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
Added 'is not None' to if conditions #626
Added 'is not None' to if conditions #626
Conversation
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.
Thanks! Added a few comments
Codecov Report
@@ Coverage Diff @@
## main #626 +/- ##
=======================================
Coverage 73.02% 73.02%
=======================================
Files 99 99
Lines 26179 26179
Branches 5482 5482
=======================================
+ Hits 19116 19118 +2
+ Misses 5700 5699 -1
+ Partials 1363 1362 -1
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I added one comment, please rebase and squash |
6a6c76c
to
df49754
Compare
Adjusted some if conditions to check for isinstance(variable, type)
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.
Thanks!
In the original issue, when a
self.variable =0
, then theif self.variable:
was not met in theas_dict()
function found in the script:ARC/arc/job/adapter.py
Line 824 in ba4f5b9