math-spec-mapping 0.4.3__py3-none-any.whl → 0.4.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,8 +30,12 @@ class Entity:
30
30
  def add_impacted_by_mechanism(self, mechanism) -> None:
31
31
  self.impacted_by_mechanism.append(mechanism)
32
32
  q = [mechanism]
33
+ seen = []
33
34
  while len(q) > 0:
34
35
  cur = q.pop()
36
+ if cur in seen:
37
+ continue
38
+ seen.append(cur)
35
39
  if type(cur) == ControlAction or type(cur) == BoundaryAction:
36
40
  if cur not in self.impacted_by_actions:
37
41
  self.impacted_by_actions.append(cur)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: math-spec-mapping
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: A library for easy mapping of mathematical specifications.
5
5
  Author-email: Sean McOwen <Sean@Block.Science>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -16,6 +16,7 @@ Requires-Dist: jsonschema>=4.21.1
16
16
  Requires-Dist: PyGithub==2.5.0
17
17
  Requires-Dist: python-dotenv>=1.0.0
18
18
  Requires-Dist: pypandoc>=1.15
19
+ Dynamic: license-file
19
20
 
20
21
  # Mathematical Specification Mapping Library (MSML)
21
22
 
@@ -5,7 +5,7 @@ math_spec_mapping/Classes/ActionTransmissionChannel.py,sha256=zWMo5QsgPh5WGIWXl-
5
5
  math_spec_mapping/Classes/Block.py,sha256=2VOBTPRafmtaLY847tEw3OJTrWNp2d0aSStC_u-JpbY,20195
6
6
  math_spec_mapping/Classes/BoundaryAction.py,sha256=_rFvEZ4LNxmlM59js4SuQ9n5CgVmITw4YWKs0-q0r-4,560
7
7
  math_spec_mapping/Classes/ControlAction.py,sha256=4AzMSA8fbnUf-fGlvMJXHJFbz32G1h1QVWf2yzrXrLA,493
8
- math_spec_mapping/Classes/Entity.py,sha256=fA0-b128_OHHxfCg4pzqyQV083EYev1HlVpy86S5igg,1226
8
+ math_spec_mapping/Classes/Entity.py,sha256=VXgBRvTtWOiQBaGkWZZYdr41NCevdWqc-tFOxCYN5VA,1326
9
9
  math_spec_mapping/Classes/MathSpec.py,sha256=i6-iWj7SnGWjqwWxiwZ0ysiiNPGHGsidCEgK1KMgumc,65605
10
10
  math_spec_mapping/Classes/Mechanism.py,sha256=2sLm3wYBIeTQaMBcsJ9btqIWsbS895Ra8NY6Y9_G_Dg,379
11
11
  math_spec_mapping/Classes/Metric.py,sha256=iQhH4g8Z60QlM22nPX9ytGmidOsZSiSs0KjqwmsScwU,636
@@ -57,8 +57,8 @@ math_spec_mapping/Reports/spaces.py,sha256=-76hR5wQBv4lsG000ypBJ-OprjsNjI-rNRMYd
57
57
  math_spec_mapping/Reports/state.py,sha256=QYeCvX5cHeZBrbvMeDsTqJcUDTuDFJSLvPbasjLspk8,3643
58
58
  math_spec_mapping/Reports/tables.py,sha256=O0CNuqh3LMECq5uLjBOoxMUk5hUvkUK660FNnwWUxDY,1505
59
59
  math_spec_mapping/Reports/wiring.py,sha256=u9SvKWy6T-WJUEgFI6-zgZanoOaTTs_2YwmEceDLsV8,1618
60
- math_spec_mapping-0.4.3.dist-info/LICENSE,sha256=ObyEzSw8kgCaFbEfpu1zP4TrcAKLA0xhqHMZZfyh7N0,1069
61
- math_spec_mapping-0.4.3.dist-info/METADATA,sha256=6NFRaAlIrw6h_8802HicQ2P-8KUUrIDAOkWhY6Ys72w,7064
62
- math_spec_mapping-0.4.3.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
63
- math_spec_mapping-0.4.3.dist-info/top_level.txt,sha256=AImhn9wgazkdV0a9vfiphtQR8uGe2nq-ZIOp-6yUk9o,18
64
- math_spec_mapping-0.4.3.dist-info/RECORD,,
60
+ math_spec_mapping-0.4.4.dist-info/licenses/LICENSE,sha256=ObyEzSw8kgCaFbEfpu1zP4TrcAKLA0xhqHMZZfyh7N0,1069
61
+ math_spec_mapping-0.4.4.dist-info/METADATA,sha256=GAsCcuj-DTbLyxRj88fG-avnrbFbCfa9rmClcII1JPw,7086
62
+ math_spec_mapping-0.4.4.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
63
+ math_spec_mapping-0.4.4.dist-info/top_level.txt,sha256=AImhn9wgazkdV0a9vfiphtQR8uGe2nq-ZIOp-6yUk9o,18
64
+ math_spec_mapping-0.4.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5