<commit_before># -*- coding: iso-8859-1 -*-
# Maintainer: joaander

from hoomd_script import *
import unittest
import os

# group - test grouping commands
class pair_group_tests (unittest.TestCase):
    def setUp(self):
        print
        sysdef = init.create_empty(N=11, box=data.boxdim(L=4), particle_types=['A', 'B']);
        sysdef.particles[0].position = (0,0,0);
        sysdef.particles[0].type = 'A';
        sysdef.particles[1].position = (1,1,1);
        sysdef.particles[1].type = 'B';
        sysdef.particles[2].position = (1,1,1);
        sysdef.particles[2].type = 'B';
        sysdef.particles[3].position = (-1,-1,-1);
        sysdef.particles[3].type = 'A';
        sysdef.particles[4].position = (-1,-1,-1);
        sysdef.particles[4].type = 'A';
        sysdef.particles[5].position = (2,0,0);
        sysdef.particles[5].type = 'B';
        sysdef.particles[6].position = (0,2,0);
        sysdef.particles[6].type = 'A';
        sysdef.particles[7].position = (0,0,2);
        sysdef.particles[7].type = 'A';
        sysdef.particles[8].position = (-2,0,0);
        sysdef.particles[8].type = 'B';
        sysdef.particles[9].position = (0,-2,0);
        sysdef.particles[9].type = 'B';
        sysdef.particles[10].position = (0,0,-2);<commit_msg>Fix an error in test_group<commit_after># -*- coding: iso-8859-1 -*-
# Maintainer: joaander

from hoomd_script import *
import unittest
import os
import gc

# group - test grouping commands
class pair_group_tests (unittest.TestCase):
    def setUp(self):
        print("setUp");
        print
        sysdef = init.create_empty(N=11, box=data.boxdim(L=5), particle_types=['A', 'B']);
        sysdef.particles[0].position = (0,0,0);
        sysdef.particles[0].type = 'A';
        sysdef.particles[1].position = (1,1,1);
        sysdef.particles[1].type = 'B';
        sysdef.particles[2].position = (1,1,1);
        sysdef.particles[2].type = 'B';
        sysdef.particles[3].position = (-1,-1,-1);
        sysdef.particles[3].type = 'A';
        sysdef.particles[4].position = (-1,-1,-1);
        sysdef.particles[4].type = 'A';
        sysdef.particles[5].position = (2,0,0);
        sysdef.particles[5].type = 'B';
        sysdef.particles[6].position = (0,2,0);
        sysdef.particles[6].type = 'A';
        sysdef.particles[7].position = (0,0,2);
        sysdef.particles[7].type = 'A';
        sysdef.particles[8].position = (-2,0,0);
        sysdef.particles[8].type = 'B';
        sysdef.particles[9].position = (0,-2,0);
        sysdef.particles[9].type = 'B';
        sysdef.particles[10].position = (0,0,-2);
{'fraction_non_alphanumeric': 0.1907514450867052, 'fraction_numerical': 0.048554913294797684, 'mean_word_length': 2.656338028169014, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4417417', 'n_tokens_mistral': 974, 'n_tokens_neox': 959, 'n_words': 144}