Make use of the new get_partition_number function
Merge pull request #266 from dagwieers/get_partition_number

Make use of the new get_partition_number function