labfreed 0.2.6a4__py3-none-any.whl → 0.2.6a5__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.

Potentially problematic release.


This version of labfreed might be problematic. Click here for more details.

labfreed/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  Python implementation of LabFREED building blocks
3
3
  '''
4
4
 
5
- __version__ = "0.2.6a4"
5
+ __version__ = "0.2.6a5"
6
6
 
7
7
  from labfreed.pac_id import * # noqa: F403
8
8
  from labfreed.pac_cat import * # noqa: F403
@@ -153,6 +153,9 @@ class CIT_v1(LabFREED_BaseModel):
153
153
  raise ValueError('CIT v1 does only handle PAC-IDs. PAC-CAT it does not know what to do')
154
154
  cit_evaluated = ServiceGroup(origin=self.origin)
155
155
  for e in self.entries:
156
+ if e.errors():
157
+ continue #make this stable against errors in the cit
158
+
156
159
  conditions = e.applicable_if.split(';')
157
160
  conditions_evaluated = list()
158
161
  for c in conditions:
@@ -145,6 +145,8 @@ class CIT_v2(LabFREED_BaseModel):
145
145
  continue
146
146
 
147
147
  for e in block.entries:
148
+ if e.errors():
149
+ continue #make this stable against errors in the cit
148
150
  url = self._eval_url_template(pac_id_json, e.template_url)
149
151
  cit_evaluated.services.append(Service(
150
152
  service_name=e.service_name,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: labfreed
3
- Version: 0.2.6a4
3
+ Version: 0.2.6a5
4
4
  Summary: Python implementation of LabFREED building blocks
5
5
  Author-email: Reto Thürer <thuerer.r@buchi.com>
6
6
  Requires-Python: >=3.11
@@ -1,4 +1,4 @@
1
- labfreed/__init__.py,sha256=wKahqMhTOvdvcU9M6ARgaUBWlM0qEwE7q5qixgJXVsY,338
1
+ labfreed/__init__.py,sha256=HM--oq6iUUbtBQn6g2KfzcilwUaipYei_vdBhlM_itM,338
2
2
  labfreed/labfreed_infrastructure.py,sha256=EPDSCaGxWakAoPpHyc6ltf-pOuKyS5829lj_EG6wa74,10072
3
3
  labfreed/pac_cat/__init__.py,sha256=KNPtQzBD1XVohvG_ucOs7RJj-oi6biUTGB1k-T2o6pk,568
4
4
  labfreed/pac_cat/category_base.py,sha256=lFQNiTUukyhWdaSCAI7CZxLtj6kNtnBCE4UsePwsGqE,1801
@@ -12,8 +12,8 @@ labfreed/pac_id/url_parser.py,sha256=TAQHxFf7Li8GA517mfOivmnJAJgh782oaSDzmOOkyTE
12
12
  labfreed/pac_id/url_serializer.py,sha256=3D5pwcAP4ZrCQ22BRtxIwqWrFtZuY9913hCLPJNeyPI,2845
13
13
  labfreed/pac_id_resolver/__init__.py,sha256=RNBlrDOSR42gmSNH9wJVhK_xwEX45cvTKVgWW2bjh7Q,113
14
14
  labfreed/pac_id_resolver/cit_common.py,sha256=xEkSSumj_IYgnXn3yKvoTBbgExnIfPY7E-RHU-7pcX8,2905
15
- labfreed/pac_id_resolver/cit_v1.py,sha256=cC-fGWmPxhUMylZYn3MBDrr9Ds1oL6-j88Pw03csB9k,9436
16
- labfreed/pac_id_resolver/cit_v2.py,sha256=NCJqhYH5viF6iFCmryHhoQXmuKAyFMxgHvvzo4eBAgI,11838
15
+ labfreed/pac_id_resolver/cit_v1.py,sha256=1dx0zqJfzFOE4kP8_i8EJSLhvjVovc_i9Bazb53B0fU,9548
16
+ labfreed/pac_id_resolver/cit_v2.py,sha256=I4Eri6r61O_BFFwCIyHZzwCQCVQJ7Rj9TW8MIOb2Rwg,11944
17
17
  labfreed/pac_id_resolver/resolver.py,sha256=SQlATlaUsmS6EZlEMyBQsp00ixpN3r-3V5pMXcvHYCw,2739
18
18
  labfreed/pac_id_resolver/services.py,sha256=TPoH6YlSwa0hmawHpOiMwIpBAinhoRhMSoexop0YscI,2462
19
19
  labfreed/qr/__init__.py,sha256=fdKwP6W2Js--yMbBUdn-g_2uq2VqPpfQJeDLHsMDO-Y,61
@@ -39,7 +39,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=nqk66kHdSwJTJfMKlP-x
39
39
  labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
40
40
  labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
41
41
  labfreed/well_known_keys/unece/unece_units.py,sha256=gNDQk6KGl-nGMf9Ycq_fQ8P2xxKITgLkcQWPd4H49gI,1630
42
- labfreed-0.2.6a4.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
43
- labfreed-0.2.6a4.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
44
- labfreed-0.2.6a4.dist-info/METADATA,sha256=WvHpUfPKFYz537qACQir3e4tmkngdiHU6E_7APE-jg8,18616
45
- labfreed-0.2.6a4.dist-info/RECORD,,
42
+ labfreed-0.2.6a5.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
43
+ labfreed-0.2.6a5.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
44
+ labfreed-0.2.6a5.dist-info/METADATA,sha256=Vdc6vdvGls5bzknFaZmD7OCMz0yM0FNzd0M6UrFbRoM,18616
45
+ labfreed-0.2.6a5.dist-info/RECORD,,