ferrouswheel / mdig

MDiG - Modular Dispersal in GIS
Other
5 stars 1 forks source link

refactor monitor code out of the GRASS interface class. #13

Open ferrouswheel opened 11 years ago

ferrouswheel commented 11 years ago

Currently close_output, spawn_display, close_display, and set_output are quite complex and I feel it'd be cleaner to pull the display code out of the main GRASS interface class.

ferrouswheel commented 11 years ago

At one point the ImageViewer displayed populations in 0% survival areas, even though the resulting maps were fine. I was unable to recreate this, so it was potentially resolved in other refactorings/fixes. However, if it arises again, I'll want to do this refactoring too.

ferrouswheel commented 11 years ago

Can also use a NamedTemporaryFile object instead of mkstemp