hyperfunk/mastercode-tools — pull request #6 by hyperfunk (2012-04-23 06:59:47+00:00)
Title: Mc file

Hi Kees,

This is following on from the previous pull request I sent at the end of last week; you should merge that one first!!!

This is the (second) major overhaul of how we deal with defining our input and output files. When I rewrote the last one (fileDictRefactor) while it was an improvement it still felt very clumsy to me, and prone to user error.

I've now introduced two new classes "MCFile" and "MCFileCollection" that take care of combining groups of attributes together for the reprocessing.

At the moment the histogram calculations are updated to work with this yet, so they wont run until I push those commits.

I should do that today so don't merge this until then. Just thought this might give you a chance to look at the code and post any questions / comments (as I know there is a lot changes to the code here).

Sam