-
Notifications
You must be signed in to change notification settings - Fork 209
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
[GCI] Standardised Edge Detect module code comments #1346
[GCI] Standardised Edge Detect module code comments #1346
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1346 +/- ##
=======================================
Coverage 66.12% 66.12%
=======================================
Files 125 125
Lines 2571 2571
Branches 404 404
=======================================
Hits 1700 1700
Misses 871 871
|
Hmm. I am not very good at English. I asked one the dev of a library who
has experience in development field and also happens to be very good ar
literature said that any group of words can be considered a phrase and the
full stop makes it a sentence. That is an infinite loop so I think making
it a phrase would be the best option. He said that this one is both a
sentence and a phrase which blew my mind.
…On Thu, 12 Dec, 2019, 9:57 PM Sidharth Bansal, ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In src/modules/EdgeDetect/EdgeUtils.js
<#1346 (comment)>
:
> @@ -21,7 +23,7 @@ module.exports = function(pixels, highThresholdRatio, lowThresholdRatio, useHyst
grads.push([]);
angles.push([]);
for (var y = 0; y < pixels.shape[1]; y++) {
- var result = sobelFilter(
+ var result = sobelFilter( // Convolves the sobel filter on every pixel.
I supposed that a sentence consists of a subject and predicate. Here only
predicate is present, hence I thought that it is a phrase.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1346?email_source=notifications&email_token=AIJI5HZBNUKKL7BP7T44LVTQYJQ7PA5CNFSM4JYKOZBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCPAB7VY#discussion_r357242716>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIJI5H5XG57GHRWDZ7EB27LQYJQ7PANCNFSM4JYKOZBA>
.
|
It is a debatable thing. Most developers don't use a full stop in getter and setter things. As they are in a hurry. So, I asked to remove unnecessary full stops. This will others to not write full stops in every single 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.
@jywarren kindly merge it
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.
@jywarren kindly merge it
Looking at this one now! |
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.
Fabulous!
Fixes #1341 (<=== Replace
0000
with the Issue Number)Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
npm test
@publiclab/is-reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Please make sure to get at least two reviews before asking for merging the PR as that would make the PR more reliable on our part
Thanks!