<commit_before>def transform_scalars(dataset):
    """Set negative voxels to zero"""
    
    from tomviz import utils
    import numpy as np

    data = utils.get_array(dataset)

    data[data<0] = 0 #set negative voxels to zero
  
    # set the result as the new scalars.
    utils.set_array(dataset, data)
    <commit_msg>Fix indentation<commit_after>def transform_scalars(dataset):
    """Set negative voxels to zero"""

    from tomviz import utils
    import numpy as np

    data = utils.get_array(dataset)

    data[data<0] = 0 #set negative voxels to zero

    # set the result as the new scalars.
    utils.set_array(dataset, data)
{'fraction_non_alphanumeric': 0.0842433697347894, 'fraction_numerical': 0.0062402496099844, 'mean_word_length': 3.196078431372549, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6633789', 'n_tokens_mistral': 207, 'n_tokens_neox': 198, 'n_words': 67}