Closed rs1701 closed 5 years ago
Hello @rs1701! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
apercal/modules/preflag.py
:Line 526:1: W293 blank line contains whitespace Line 549:1: W293 blank line contains whitespace Line 557:1: W293 blank line contains whitespace Line 567:1: W293 blank line contains whitespace Line 570:17: E265 block comment should start with '# ' Line 573:17: E303 too many blank lines (2) Line 574:46: W601 .has_key() is deprecated, use 'in' Line 582:33: E272 multiple spaces before keyword Line 585:1: W293 blank line contains whitespace Line 597:1: W293 blank line contains whitespace Line 602:33: E265 block comment should start with '# ' Line 604:33: E265 block comment should start with '# ' Line 613:33: E265 block comment should start with '# ' Line 621:1: W293 blank line contains whitespace Line 624:33: E265 block comment should start with '# ' Line 630:73: E225 missing whitespace around operator
Removed the change to setinitdir
Added feature that allows the user to provide a list of casa flagging commands in a single file. The flagging commands (for different beams) are provided by a single json-file. A template has been added, too. Also, the setinitdir function now uses os.path.join to combine the different (sub-)directories