Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardo-rodrigues committed Nov 27, 2023
1 parent 86714c7 commit 91bdddd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/decaylanguage/dec/dec.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,7 +999,7 @@ def build_decay_chains(
list_dm_details = self._decay_mode_details(dm, display_photos_keyword=False)
d = dict(zip(keys, list_dm_details))

for i, fs in enumerate(d["fs"]): # type: ignore[arg-type, var-annotated]
for i, fs in enumerate(d["fs"]):
if fs in stable_particles:
continue

Expand All @@ -1009,13 +1009,13 @@ def build_decay_chains(
# _n_dms = len(self._find_decay_modes(fs))

_info = self.build_decay_chains(fs, stable_particles)
d["fs"][i] = _info # type: ignore[index]
d["fs"][i] = _info
except DecayNotFound:
pass

info.append(d)

return {mother: info} # type: ignore[dict-item]
return {mother: info}

def __repr__(self) -> str:
if self._parsed_dec_file is not None:
Expand Down

0 comments on commit 91bdddd

Please sign in to comment.