iqm-exa-common 26.4__py3-none-any.whl → 26.6__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.
- exa/common/data/parameter.py +6 -5
- {iqm_exa_common-26.4.dist-info → iqm_exa_common-26.6.dist-info}/METADATA +1 -1
- {iqm_exa_common-26.4.dist-info → iqm_exa_common-26.6.dist-info}/RECORD +6 -6
- {iqm_exa_common-26.4.dist-info → iqm_exa_common-26.6.dist-info}/LICENSE.txt +0 -0
- {iqm_exa_common-26.4.dist-info → iqm_exa_common-26.6.dist-info}/WHEEL +0 -0
- {iqm_exa_common-26.4.dist-info → iqm_exa_common-26.6.dist-info}/top_level.txt +0 -0
exa/common/data/parameter.py
CHANGED
|
@@ -236,11 +236,12 @@ class Parameter(BaseModel):
|
|
|
236
236
|
case _:
|
|
237
237
|
raise ValidationError("Parameter 'element_indices' must be one or more ints.")
|
|
238
238
|
object.__setattr__(self, "element_indices", idxs)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
object.__setattr__(self, "
|
|
242
|
-
object.__setattr__(self, "
|
|
243
|
-
|
|
239
|
+
# there may be len(idxs) num of "__" separated indices at the end, remove those to get the parent name
|
|
240
|
+
parent_name = self.name.replace("__" + "__".join([str(idx) for idx in idxs]), "")
|
|
241
|
+
object.__setattr__(self, "_parent_name", parent_name)
|
|
242
|
+
object.__setattr__(self, "_parent_label", self.label.replace(f" {idxs}", ""))
|
|
243
|
+
object.__setattr__(self, "label", f"{self._parent_label} {idxs}")
|
|
244
|
+
name = self._parent_name
|
|
244
245
|
for index in idxs:
|
|
245
246
|
name += f"__{index}"
|
|
246
247
|
object.__setattr__(self, "name", name)
|
|
@@ -25,7 +25,7 @@ exa/common/control/sweep/option/start_stop_options.py,sha256=HaQFNlhRPep2yrn_LuO
|
|
|
25
25
|
exa/common/control/sweep/option/sweep_options.py,sha256=BhKB7RHP0VXJ9iUQKVzeQOM4j_x9AsMhRJgoR3gkiaY,933
|
|
26
26
|
exa/common/data/__init__.py,sha256=F5SRe5QHBTjef4XJVQ63kO5Oxc_AiZnPbV560i7La0Y,644
|
|
27
27
|
exa/common/data/base_model.py,sha256=A008Gn4cVQloiCWqJOGal5C1vq_ItyOWXnFvZcHPsuc,1785
|
|
28
|
-
exa/common/data/parameter.py,sha256=
|
|
28
|
+
exa/common/data/parameter.py,sha256=m_DLwtDtwLXfzRjpXBTCsc7iZTRZJvnnPAC--nEKhxE,23168
|
|
29
29
|
exa/common/data/setting_node.py,sha256=WldawevXuOb2uN-bjZ04hWijKqX_MOdkyMsgxOZbrek,43190
|
|
30
30
|
exa/common/data/settingnode_v2.html.jinja2,sha256=mo-rlLLmU-Xxf6znJAisispAZK8sbV-2C13byKAtj_Q,3166
|
|
31
31
|
exa/common/data/value.py,sha256=mtMws5UPGx1pCADK6Q2Tx4BwCXznvVRSNQRfcQ3NMmY,1853
|
|
@@ -48,8 +48,8 @@ exa/common/qcm_data/qcm_data_client.py,sha256=0clAbZ3HPBH9lFOe8cVmaq8hPHG5m3pyPG
|
|
|
48
48
|
exa/common/sweep/__init__.py,sha256=uEKk5AtzSgSnf8Y0geRPwUpqXIBIXpeCxsN64sX7F1o,591
|
|
49
49
|
exa/common/sweep/database_serialization.py,sha256=NUu1umxRQZpKtRmw1vNDsSbnofqbHvKFg_xQ2mdhY6k,7469
|
|
50
50
|
exa/common/sweep/util.py,sha256=-QE2AaH-WDkYAVH5-Z-30leLgY0x4efmby4kc1JTCgY,3732
|
|
51
|
-
iqm_exa_common-26.
|
|
52
|
-
iqm_exa_common-26.
|
|
53
|
-
iqm_exa_common-26.
|
|
54
|
-
iqm_exa_common-26.
|
|
55
|
-
iqm_exa_common-26.
|
|
51
|
+
iqm_exa_common-26.6.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
|
|
52
|
+
iqm_exa_common-26.6.dist-info/METADATA,sha256=EnyCHx4JrwDr0nmUJc5nJoA2_UXm69z9hDDx25ymahM,14548
|
|
53
|
+
iqm_exa_common-26.6.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
54
|
+
iqm_exa_common-26.6.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
|
|
55
|
+
iqm_exa_common-26.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|