xair-api 2.4.2__py3-none-any.whl → 2.4.3__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.
- xair_api/shared.py +3 -4
- {xair_api-2.4.2.dist-info → xair_api-2.4.3.dist-info}/METADATA +1 -1
- {xair_api-2.4.2.dist-info → xair_api-2.4.3.dist-info}/RECORD +5 -5
- {xair_api-2.4.2.dist-info → xair_api-2.4.3.dist-info}/WHEEL +0 -0
- {xair_api-2.4.2.dist-info → xair_api-2.4.3.dist-info}/licenses/LICENSE +0 -0
xair_api/shared.py
CHANGED
|
@@ -118,12 +118,12 @@ class Gate:
|
|
|
118
118
|
|
|
119
119
|
@property
|
|
120
120
|
def mode(self) -> str:
|
|
121
|
-
opts = ('
|
|
121
|
+
opts = ('exp2', 'exp3', 'exp4', 'gate', 'duck')
|
|
122
122
|
return opts[self.getter('mode')[0]]
|
|
123
123
|
|
|
124
124
|
@mode.setter
|
|
125
125
|
def mode(self, val: str):
|
|
126
|
-
opts = ('
|
|
126
|
+
opts = ('exp2', 'exp3', 'exp4', 'gate', 'duck')
|
|
127
127
|
if val not in opts:
|
|
128
128
|
self.logger.warning(f'mode got {val}, expected one of {opts}')
|
|
129
129
|
self.setter('mode', opts.index(val))
|
|
@@ -525,8 +525,7 @@ class EQ:
|
|
|
525
525
|
|
|
526
526
|
@property
|
|
527
527
|
def quality(self) -> float:
|
|
528
|
-
|
|
529
|
-
retval = util.log_get(0.3, 10, 1.0 - raw_value)
|
|
528
|
+
retval = util.log_get(0.3, 10, 1.0 - self.getter('q')[0])
|
|
530
529
|
return round(retval, 1)
|
|
531
530
|
|
|
532
531
|
@quality.setter
|
|
@@ -10,11 +10,11 @@ xair_api/kinds.py,sha256=w2NRvXySdPbdrMnVCW4lVluwvUibnNRcHOOKbP9bT0M,1094
|
|
|
10
10
|
xair_api/lr.py,sha256=nzcyKUKgBNGxs4XSoqAxlfNIY00mWdGBEfZEths5s8E,1721
|
|
11
11
|
xair_api/meta.py,sha256=rORjsY0GcZKqzr33kwhf6e5UM9_a1dS45J4T0sZLGX8,1489
|
|
12
12
|
xair_api/rtn.py,sha256=DIL6u0oYC5upVc13xdyqyN1Dn2bIRagg7D6DrnAJcPw,3065
|
|
13
|
-
xair_api/shared.py,sha256=
|
|
13
|
+
xair_api/shared.py,sha256=5RAs-oO_tS6Q-T7zZNS_qb46iyXTM02MW6kd4ttUdB4,18510
|
|
14
14
|
xair_api/strip.py,sha256=O52_trXhZ6iOX3sRklkej-_AL-gAyYze08WL7ob3g20,2009
|
|
15
15
|
xair_api/util.py,sha256=_HyqmSiJ_kdBgHyBrdZI-3SmcQZMvX1GAUGwRavotA8,2169
|
|
16
16
|
xair_api/xair.py,sha256=Es_jg1bgW732S4fMGsMmuLVVNcg0DKFQRHoSQgooYC0,6389
|
|
17
|
-
xair_api-2.4.
|
|
18
|
-
xair_api-2.4.
|
|
19
|
-
xair_api-2.4.
|
|
20
|
-
xair_api-2.4.
|
|
17
|
+
xair_api-2.4.3.dist-info/METADATA,sha256=_k1ZWen3sAMZnoSLGv8111zuHAVoqclpisR9K2XcA5A,9075
|
|
18
|
+
xair_api-2.4.3.dist-info/WHEEL,sha256=3ny-bZhpXrU6vSQ1UPG34FoxZBp3lVcvK0LkgUz6VLk,88
|
|
19
|
+
xair_api-2.4.3.dist-info/licenses/LICENSE,sha256=yqfnWf9m9ArjIqh56opp7LBgEjzkLeFK4xLfkPWrnus,1102
|
|
20
|
+
xair_api-2.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|