Task2#6
Conversation
|
Hello @ZuodongWang! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2020-02-25 03:25:14 UTC |
task 2b draft
|
resolves #2 (linking this PR w/ issue) |
This code could be cleaned up A LOT, but all the functionality is there. It ignores the 1 bottom and 1 top percent of word heights
JadeWibbels
left a comment
There was a problem hiding this comment.
Hi guys! As promised I am going to be adding code review requests. The files in task2 seem to have a LOT of overlap on functionality. Making things more modular would mean that there is less duplication of code/effort. We also need unit tests!
I would be happy to meet with you in small groups or one on one if you have questions on any comments. Also! If you think that things are perfect the way they are feel free to reply to my comments and explain the whys!
|
|
||
| logging.basicConfig(level=logging.INFO) | ||
|
|
||
| def getColumnDelimiters(fName): |
There was a problem hiding this comment.
There is some good documentation here, but could use more parameter information. There are also some opportunities for splitting out smaller functions to increase modularity.
| return columnSeperatorXVals | ||
|
|
||
|
|
||
| def main(): |
There was a problem hiding this comment.
Similar comments on encouraging modularity.
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() No newline at end of file |
| @@ -0,0 +1,133 @@ | |||
| #!/usr/bin/env python3 | |||
There was a problem hiding this comment.
This file looks like it contains a lot of the same functionality as the previous file. If you find you are re writing and re using the same code in multiple areas, I would recommend splitting it out and making it more modular.
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() |
moved commit to branch "3col" This reverts commit fef4e89.
Creates unified day files. Currently this runs insanely slow on summit. Although the current version has not been run yet and is much simpler. The 4 lines of code do run pretty fast on a local machine.
Will-Shanks
left a comment
There was a problem hiding this comment.
It would be helpful if comments were added to the code to make it more readable.
Could you please also change the filenames to better reflect what they do. Since we have multiple job submission scripts it would be helpful to denote what this job in particular does in the submit script name, same goes for the draw5.py filename.
|
I am not fully sure what this code does. It looks like we need Zoudong to add some comments to the code and I would also like to request that we get a description of what this code does. |
I believe this is actually the branch Remy has been working on not Zoudong, so it probably makes more sense to have him write a description of what it does. |
No description provided.