pyimreg / python-register

Linear and non-linear image registration methods, using scipy and numpy.
Other
62 stars 34 forks source link

Capatalize classes #3

Closed nfaggian closed 13 years ago

nfaggian commented 13 years ago

The code should be pep8 compliant and all custom classes should be capitalized.

nfaggian commented 13 years ago

Classes fixed, however:

./examples/nonlinreg.py:8:1: E302 expected 2 blank lines, found 1 ./examples/nonlinreg.py:27:80: E501 line too long (80 characters) ./register/grid/coordinates.py:5:1: E302 expected 2 blank lines, found 1 ./register/grid/coordinates.py:23:38: E231 missing whitespace after ',' ./register/grid/image.py:11:1: E302 expected 2 blank lines, found 1 ./register/grid/image.py:30:33: E231 missing whitespace after ',' ./register/grid/image.py:41:80: E501 line too long (80 characters) ./register/metrics/metric.py:15:11: E225 missing whitespace around operator ./register/metrics/metric.py:16:16: E225 missing whitespace around operator ./register/metrics/metric.py:28:1: W293 blank line contains whitespace ./register/metrics/metric.py:30:1: W293 blank line contains whitespace ./register/metrics/metric.py:39:1: W293 blank line contains whitespace ./register/metrics/metric.py:50:11: E225 missing whitespace around operator ./register/metrics/metric.py:52:16: E225 missing whitespace around operator ./register/metrics/metric.py:87:16: E231 missing whitespace after ',' ./register/metrics/metric.py:87:38: E225 missing whitespace around operator ./register/metrics/metric.py:92:1: W293 blank line contains whitespace ./register/models/model.py:6:1: E302 expected 2 blank lines, found 1 ./register/models/model.py:15:10: E225 missing whitespace around operator ./register/models/model.py:16:16: E225 missing whitespace around operator ./register/models/model.py:30:1: W293 blank line contains whitespace ./register/models/model.py:56:1: W293 blank line contains whitespace ./register/models/model.py:66:10: E225 missing whitespace around operator ./register/models/model.py:68:16: E225 missing whitespace around operator ./register/models/model.py:89:21: E231 missing whitespace after ',' ./register/models/model.py:90:12: E231 missing whitespace after ',' ./register/models/model.py:91:12: E231 missing whitespace after ',' ./register/models/model.py:109:13: E231 missing whitespace after ',' ./register/models/model.py:110:13: E231 missing whitespace after ',' ./register/models/model.py:117:10: E225 missing whitespace around operator ./register/models/model.py:119:16: E225 missing whitespace around operator ./register/models/model.py:140:28: E225 missing whitespace around operator ./register/models/model.py:161:13: E231 missing whitespace after ',' ./register/models/model.py:162:13: E231 missing whitespace after ',' ./register/models/model.py:163:13: E231 missing whitespace after ',' ./register/models/model.py:165:13: E231 missing whitespace after ',' ./register/models/model.py:166:13: E231 missing whitespace after ',' ./register/models/model.py:167:13: E231 missing whitespace after ',' ./register/models/model.py:174:10: E225 missing whitespace around operator ./register/models/model.py:176:16: E225 missing whitespace around operator ./register/models/model.py:190:44: E225 missing whitespace around operator ./register/models/model.py:221:33: E201 whitespace after '(' ./register/models/model.py:222:17: E231 missing whitespace after ',' ./register/models/model.py:225:33: E201 whitespace after '(' ./register/models/model.py:226:17: E231 missing whitespace after ',' ./register/models/model.py:229:25: E231 missing whitespace after ',' ./register/models/model.py:231:34: E231 missing whitespace after ',' ./register/models/model.py:231:37: E225 missing whitespace around operator ./register/models/model.py:236:5: E303 too many blank lines (2) ./register/models/model.py:254:5: E303 too many blank lines (2) ./register/models/model.py:279:25: E201 whitespace after '(' ./register/models/model.py:296:25: E225 missing whitespace around operator ./register/models/model.py:299:25: E225 missing whitespace around operator ./register/register.py:34:1: E303 too many blank lines (3) ./register/register.py:50:1: E302 expected 2 blank lines, found 1 ./register/register.py:94:27: E225 missing whitespace around operator ./register/register.py:96:23: E201 whitespace after '(' ./register/register.py:138:9: E303 too many blank lines (2) ./register/register.py:150:34: E231 missing whitespace after ',' ./register/register.py:156:80: E501 line too long (82 characters) ./register/register.py:225:80: E501 line too long (89 characters) ./register/register.py:225:38: E201 whitespace after '(' ./register/register.py:223:32: E225 missing whitespace around operator ./register/register.py:236:1: E303 too many blank lines (3) ./register/register.py:253:27: E225 missing whitespace around operator ./register/register.py:255:23: E201 whitespace after '(' ./register/samplers/numpyctypes.py:5:18: E203 whitespace before ':' ./register/samplers/numpyctypes.py:18:23: E251 no spaces around keyword / parameter equals ./register/samplers/numpyctypes.py:22:80: E501 line too long (80 characters) ./register/samplers/numpyctypes.py:29:80: E501 line too long (88 characters) ./register/samplers/numpyctypes.py:30:80: E501 line too long (82 characters) ./register/samplers/numpyctypes.py:33:80: E501 line too long (87 characters) ./register/samplers/numpyctypes.py:75:5: E303 too many blank lines (2) ./register/samplers/numpyctypes.py:77:28: W602 deprecated form of raising exception ./register/samplers/numpyctypes.py:81:28: W602 deprecated form of raising exception ./register/samplers/numpyctypes.py:94:28: E203 whitespace before ',' ./register/samplers/numpyctypes.py:97:24: W602 deprecated form of raising exception ./register/samplers/numpyctypes.py:100:80: E501 line too long (87 characters) ./register/samplers/numpyctypes.py:103:80: E501 line too long (81 characters) ./register/samplers/sampler.py:11:1: E302 expected 2 blank lines, found 1 ./register/samplers/sampler.py:20:11: E225 missing whitespace around operator ./register/samplers/sampler.py:21:16: E225 missing whitespace around operator ./register/samplers/sampler.py:42:36: E231 missing whitespace after ',' ./register/samplers/sampler.py:62:11: E225 missing whitespace around operator ./register/samplers/sampler.py:64:16: E225 missing whitespace around operator ./register/samplers/sampler.py:74:5: E303 too many blank lines (2) ./register/samplers/sampler.py:99:11: E225 missing whitespace around operator ./register/samplers/sampler.py:101:16: E225 missing whitespace around operator ./register/samplers/setup.py:7:1: E302 expected 2 blank lines, found 1 ./register/setup.py:3:1: E302 expected 2 blank lines, found 1 ./register/visualize/plot.py:6:13: E225 missing whitespace around operator ./register/visualize/plot.py:7:15: E225 missing whitespace around operator ./register/visualize/plot.py:8:11: E225 missing whitespace around operator ./register/visualize/plot.py:9:11: E225 missing whitespace around operator ./register/visualize/plot.py:15:24: E231 missing whitespace after ':' ./register/visualize/plot.py:26:28: E702 multiple statements on one line (semicolon) ./register/visualize/plot.py:28:1: E302 expected 2 blank lines, found 1 ./register/visualize/plot.py:33:1: E302 expected 2 blank lines, found 1 ./register/visualize/plot.py:41:19: E202 whitespace before ')' ./register/visualize/plot.py:45:19: E202 whitespace before ')' ./register/visualize/plot.py:47:14: E201 whitespace after '(' ./register/visualize/plot.py:55:1: E302 expected 2 blank lines, found 1 ./register/visualize/plot.py:63:21: E231 missing whitespace after ',' ./register/visualize/plot.py:66:1: E302 expected 2 blank lines, found 1 ./register/visualize/plot.py:68:18: E231 missing whitespace after ',' ./register/visualize/plot.py:72:18: E231 missing whitespace after ',' ./register/visualize/plot.py:79:18: E231 missing whitespace after ',' ./register/visualize/plot.py:89:18: E231 missing whitespace after ',' ./register/visualize/plot.py:99:18: E231 missing whitespace after ',' ./register/visualize/plot.py:109:18: E231 missing whitespace after ',' ./register/visualize/plot.py:117:18: E231 missing whitespace after ',' ./register/visualize/plot.py:123:18: E231 missing whitespace after ',' ./setup.py:3:7: E221 multiple spaces before operator ./setup.py:7:19: E221 multiple spaces before operator ./setup.py:8:19: E221 multiple spaces before operator ./setup.py:9:19: E221 multiple spaces before operator ./setup.py:10:19: E221 multiple spaces before operator ./setup.py:11:19: E221 multiple spaces before operator ./setup.py:12:19: E221 multiple spaces before operator ./setup.py:13:19: E221 multiple spaces before operator ./setup.py:14:19: E221 multiple spaces before operator ./setup.py:15:19: E221 multiple spaces before operator ./setup.py:25:1: E302 expected 2 blank lines, found 1 ./setup.py:26:34: E701 multiple statements on one line (colon) ./setup.py:55:14: E201 whitespace after '[' ./setup.py:54:20: E251 no spaces around keyword / parameter equals ./setup.py:66:24: E261 at least two spaces before inline comment ./tests/test_register.py:12:1: E302 expected 2 blank lines, found 1 ./tests/test_register.py:42:43: E231 missing whitespace after ',' ./tests/test_register.py:68:43: E231 missing whitespace after ','