def voxelConsistency(cleaned_dataframe, column_number, expected_size):
    """Checks that every scan has the same voxel dimension, specified by the user."""
    consistency_boolean = True
    for row in cleaned_dataframe.index:
        if cleaned_dataframe[column_number][row] == expected_size:
            continue
        elif cleaned_dataframe[column_number][row] != expected_size:
            print("Subject scan " + cleaned_dataframe[0][row] + " does not have voxel size of " +str(expected_size))
            consistency_boolean = False
    return consistency_boolean