cyriltasse / SkyModel

2 stars 0 forks source link

Applying Benna's fixes for terminal.py and progressbar.py #2

Closed JulienNGirard closed 8 years ago

JulienNGirard commented 8 years ago

Upon calling progressbar.py in FindAllIslands
Islands.FindAllIslands() File "/home/user/SKA/3-ddfacet/SkyModel/SkyModel/PSourceExtract/ClassIslands.py", line 222, in FindAllIslands pBAR= ProgressBar('white', width=50, block='=', empty=' ',Title=" Extracting ", HeaderSize=10,TitleSize=13) File "/home/user/SKA/3-ddfacet/SkyModel/SkyModel/Other/progressbar.py", line 47, in init if width and width < terminal.COLUMNS - self.PADDING: **TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
**

Benna has fixed this error already in for MSMF but it should be put onto the master branch