FourCIPP 1.29.0__py3-none-any.whl → 1.30.0__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.
@@ -123,7 +123,14 @@ def _entry_casting_factory(spec: dict) -> LineListExtractor:
123
123
  """
124
124
 
125
125
  primitive_extractors = Primitive.PRIMITIVE_TYPES_TO_PYTHON.copy()
126
- primitive_extractors["bool"] = lambda v: {"true": True, "false": False}[v]
126
+ primitive_extractors["bool"] = lambda v: {
127
+ "true": True,
128
+ "yes": True,
129
+ "1": True,
130
+ "false": False,
131
+ "no": False,
132
+ "0": False,
133
+ }[v]
127
134
 
128
135
  if spec["type"] in primitive_extractors:
129
136
  extractor = primitive_extractors[spec["type"]]
fourcipp/version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '1.29.0'
32
- __version_tuple__ = version_tuple = (1, 29, 0)
31
+ __version__ = version = '1.30.0'
32
+ __version_tuple__ = version_tuple = (1, 30, 0)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: FourCIPP
3
- Version: 1.29.0
3
+ Version: 1.30.0
4
4
  Summary: A streamlined Python Parser for 4C input files
5
5
  Author: FourCIPP Authors
6
6
  License: The MIT License (MIT)
@@ -39,6 +39,7 @@ Requires-Dist: pre-commit; extra == "dev"
39
39
  Requires-Dist: pytest; extra == "dev"
40
40
  Requires-Dist: pytest-cov; extra == "dev"
41
41
  Requires-Dist: pip-tools; extra == "dev"
42
+ Requires-Dist: pytest-xdist; extra == "dev"
42
43
  Dynamic: license-file
43
44
 
44
45
  <p align="center">
@@ -1,12 +1,12 @@
1
1
  fourcipp/__init__.py,sha256=4pz7DVXErSbUcLqPTaHnQfdJzKkpfZDivBqbHbTgpRE,1388
2
2
  fourcipp/fourc_input.py,sha256=U_1b3XtZpXZfRV3ZAWiZzpAKtLWWrdBXow2r3wNPWao,24720
3
- fourcipp/version.py,sha256=n_lSuEHJgb4rULoS5dvoiQp1WmyrS2tr5qmwqkMv_jI,706
3
+ fourcipp/version.py,sha256=z2-YScutuXozpQDoDBzRXepmCAPjCxXPXKoXD3x7ggE,706
4
4
  fourcipp/config/4C_metadata.yaml,sha256=E5j6OAfNuHn2HJTKUrVU7ob0I9uUzP1EIgH3N9kTWp0,11961047
5
5
  fourcipp/config/4C_schema.json,sha256=C5MQallTDi4zAuN5ebZ0Cr8Qcuj8LtxezHfsfH9KiRQ,16531252
6
6
  fourcipp/config/config.yaml,sha256=n2c2a6E4HKfAdNWOQz1kLUuf5p4NLxIddaAi2t5eM38,460
7
7
  fourcipp/legacy_io/__init__.py,sha256=L3MWW-WjPbPAJVX8Z0Uheftn0dRPnqNnSBic3uloFhI,5750
8
8
  fourcipp/legacy_io/element.py,sha256=rP8F-m-8ZCwCxtV_OASvvLeNYr01zsmgZsDZSJ_G1gY,3977
9
- fourcipp/legacy_io/inline_dat.py,sha256=wqXM8dNEcTrx6Ek_6mrAE9dWk53NC0T4kOTD_auw2vQ,6837
9
+ fourcipp/legacy_io/inline_dat.py,sha256=tudLWZlCq6JZgSc1WhzNw233XNWxkmEQ7oGDd2UEgB4,6941
10
10
  fourcipp/legacy_io/node.py,sha256=e7m0W7dai_b1XgaqD37k3QS44ySCas3HetmyTLS9_78,3522
11
11
  fourcipp/legacy_io/node_topology.py,sha256=hqGGzhyNhFX-BMW8SzztfzM8zoZLLltVScMv-p4hDH0,5394
12
12
  fourcipp/legacy_io/particle.py,sha256=8LoRsyKVfhl5Qf_EoO8vLmbH0QSpB_Nho464ifkHAZc,2172
@@ -20,9 +20,9 @@ fourcipp/utils/not_set.py,sha256=NHf0UXDmTuZfvfnIIgkkx4EohxRsN4MVUHUpt7VOnaQ,243
20
20
  fourcipp/utils/type_hinting.py,sha256=izPEhbMdmhrIBamCLqqF_6iDZW-w7a8kplUugbQILyw,1714
21
21
  fourcipp/utils/validation.py,sha256=FejHOj1MddaU7gEpMN-f8Mz3rYjflakd1qcsKnctHqA,5292
22
22
  fourcipp/utils/yaml_io.py,sha256=jPgVnxE858XTpDC6BVhfbbljQegL58zc3u2VPYCTvGE,5771
23
- fourcipp-1.29.0.dist-info/licenses/LICENSE,sha256=lkSOHdH9IZ8c3Vnz0fFjqls1cRlmLADBP8QEIwUlH3o,1082
24
- fourcipp-1.29.0.dist-info/METADATA,sha256=xlNcLacuuk5xdrcAwxQMWRpteKeJJs8dwzMMG7RgCA8,7916
25
- fourcipp-1.29.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- fourcipp-1.29.0.dist-info/entry_points.txt,sha256=44XBG4bwhuq1EwOZ0U055HYP8_qN6_d30ecVsa5Igng,53
27
- fourcipp-1.29.0.dist-info/top_level.txt,sha256=oZ6jgFFmvi157VwGUEFuKT3D8oS5mOkpOVx8zZURZrQ,9
28
- fourcipp-1.29.0.dist-info/RECORD,,
23
+ fourcipp-1.30.0.dist-info/licenses/LICENSE,sha256=lkSOHdH9IZ8c3Vnz0fFjqls1cRlmLADBP8QEIwUlH3o,1082
24
+ fourcipp-1.30.0.dist-info/METADATA,sha256=oWSYBanty-IU1E_rNQCopxIL7LaXfbJTedWtyQGfwRA,7960
25
+ fourcipp-1.30.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ fourcipp-1.30.0.dist-info/entry_points.txt,sha256=44XBG4bwhuq1EwOZ0U055HYP8_qN6_d30ecVsa5Igng,53
27
+ fourcipp-1.30.0.dist-info/top_level.txt,sha256=oZ6jgFFmvi157VwGUEFuKT3D8oS5mOkpOVx8zZURZrQ,9
28
+ fourcipp-1.30.0.dist-info/RECORD,,