Box and stuff

This commit is contained in:
Si11ium
2019-03-13 15:30:54 +01:00
parent 5c7a646d69
commit d4f0024f4b
34 changed files with 413 additions and 211 deletions

View File

@ -34,6 +34,8 @@ def build_from_soup_or_exp(soup):
action=[event.get('action', None) for event in particle],
counterpart=[event.get('counterpart', None) for event in particle]
)
if any([x is not None for x in particle_dict['counterpart']]):
print('counterpart')
particle_list.append(particle_dict)
return particle_list