stonerlab / Stoner-PythonCode

Stoner Python module repository
GNU General Public License v3.0
19 stars 13 forks source link

Mixins merge #5

Closed gb119 closed 8 years ago

gb119 commented 8 years ago

This PR merges the mixins approach to sub-classing of DataFile. Rather than have AnalyseFile and PlotFile which are descendents of DataFile, we build the Stoner.Util.Data from DataFile and two classes that are descended from object. It changes the logic of some of the property methods, but is probably cleaner in the long run as one can define a better contract for the mixins to operate with.