Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

refactor: remove graph_node_comparator from STG#478

Merged
redeboer merged 1 commit intomasterfrom
remove-comparator
Feb 4, 2021
Merged

refactor: remove graph_node_comparator from STG#478
redeboer merged 1 commit intomasterfrom
remove-comparator

Conversation

@redeboer
Copy link
Copy Markdown
Member

@redeboer redeboer commented Feb 4, 2021

The StateTransitionGraph.compare method provides a sufficient handle to compare graphs. So better not to have an STG carry around its own comparator (the STG is in first instance just a mapping of edge and node properties for some underlying topology).

@redeboer redeboer added the ⚠️ Interface Changes to the interface label Feb 4, 2021
@redeboer redeboer self-assigned this Feb 4, 2021
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 4, 2021

Codecov Report

Merging #478 (f8090cd) into master (06e417f) will increase coverage by 0.44%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #478      +/-   ##
==========================================
+ Coverage   89.71%   90.15%   +0.44%     
==========================================
  Files          22       22              
  Lines        3285     3270      -15     
  Branches      835      828       -7     
==========================================
+ Hits         2947     2948       +1     
+ Misses        175      166       -9     
+ Partials      163      156       -7     
Flag Coverage Δ
unittests 90.15% <100.00%> (+0.44%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/expertsystem/reaction/__init__.py 86.92% <ø> (-0.04%) ⬇️
src/expertsystem/reaction/topology.py 91.37% <ø> (+3.63%) ⬆️
src/expertsystem/reaction/_system_control.py 89.65% <100.00%> (-0.15%) ⬇️
src/expertsystem/reaction/conservation_rules.py 92.15% <0.00%> (+0.58%) ⬆️
src/expertsystem/amplitude/helicity_decay.py 90.27% <0.00%> (+0.77%) ⬆️

@redeboer redeboer merged commit eb70bd7 into master Feb 4, 2021
@redeboer redeboer deleted the remove-comparator branch February 4, 2021 10:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚠️ Interface Changes to the interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant