[PIPE2D-100] Please address code review issues with PIPE2D-48 Created: 12/Oct/16 Updated: 23/Jun/17 Resolved: 23/Jun/17 |
|
| Status: | Done |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | aritter | Assignee: | aritter |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Story Points: | 1 | ||||||||||||||||||||||||||||||||
| Sprint: | 2014-16 | ||||||||||||||||||||||||||||||||
| Reviewers: | rhl | ||||||||||||||||||||||||||||||||
| Comments |
| Comment by aritter [ 17/Mar/17 ] |
|
These are the original comments in
|
| Comment by aritter [ 24/Mar/17 ] |
|
1. Please remove personal entries from .gitignore: 2. There should be no config overrides in runPipeline: 3. Please move runPipeline to examples 4. Please put all white-space only changes into a separate commit, and label it appropriately: 5. Check that the memory is contiguous for all the data in a given fibre. If you need to transpose, please add a note to 6. Please don't comment out templates; remove them 7. Remove all cout << statements; use logging (including tracing as appropriate): 8. remove all python print statements to use log: 9. How many info logs should become debug?: 10. Please remove all if False blocks. If they are possibly useful control them with variables (probably set by LsstDebug): 11. There's no need to specify the wavelength files on the command line. 12. Please factor the I/O into separate functions, and don't read it for every exposure 13. Use "not success" not "success == False" 14. What do comments like "THIS DOESN'T WORK" mean? 15. Please remove all commented out code 16. Use np.empty((N, M)) not np.array(shape=(N, M)) 17. Explain shape for wLenTemp 18. Use k += 1 not k = k + 1 19. Use # not """ ... """ for comments 20. Things like getAllFluxes() should not need to make a copy if you get the column/row major right 21. Split Spectra.py tests into separate tests if you might not want to run them (and then use a skip decorator) |
| Comment by aritter [ 23/Jun/17 ] |
|
merged into master |