slash-segmentation / CHM

Cascaded Hierarchical Model Automatic Segmentation Algorithm
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Split environ[name]=str(nthreads) into two lines cause python 2.7 was… #28

Closed coleslaw481 closed 7 years ago

coleslaw481 commented 7 years ago

The single line with return environ[name]=str(nthreads) was raising a SyntaxError on python 2.7, but it works when I split it into two lines, but not sure if that is valid.

coderforlife commented 7 years ago

I thought I already fixed the issue... guess I forgot to push it. In fact the real fix is just dropping the "return" - that isn't necessary at all.