Skip to content

Commit

Permalink
FIX: permutate topology edges, not property mappings (#218)
Browse files Browse the repository at this point in the history
* FIX: permutate topologies instead of outer edges
* MAINT: import entire `itertools` module
* MAINT: improve order of function definitions
* MAINT: improve spin-0 removal syntax
* MAINT: simplify `_KinematicRepresentation` class
* MAINT: switch to absolute imports
* MAINT: test whether final state order matters

---------

Co-authored-by: Remco de Boer <redeboer@AcerAspire>
  • Loading branch information
redeboer and Remco de Boer authored Apr 13, 2023
1 parent 7a53c20 commit 5a3bf72
Show file tree
Hide file tree
Showing 7 changed files with 372 additions and 339 deletions.
5 changes: 1 addition & 4 deletions src/qrules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,7 @@ def check_edge_qn_conservation() -> Set[FrozenSet[str]]:
node_id = next(iter(topology.nodes))

initial_facts = create_initial_facts(
topology=topology,
particle_db=particle_db,
initial_state=initial_state,
final_state=final_state,
topology, initial_state, final_state, particle_db
)

check_pure_edge_rules()
Expand Down
Loading

0 comments on commit 5a3bf72

Please sign in to comment.