Gradelize the detect_partitions branch in preparation for merging with branch.
Merge pull request #7 from artfullyContrived/issue281

Gradelize the detect_partitions branch in preparation for merging with master