qmenta-client 1.1.dev1394__py3-none-any.whl → 1.1.dev1407__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.
- qmenta/client/Account.py +2 -2
- qmenta/client/Project.py +3 -3
- {qmenta_client-1.1.dev1394.dist-info → qmenta_client-1.1.dev1407.dist-info}/METADATA +1 -1
- qmenta_client-1.1.dev1407.dist-info/RECORD +10 -0
- {qmenta_client-1.1.dev1394.dist-info → qmenta_client-1.1.dev1407.dist-info}/WHEEL +1 -1
- qmenta_client-1.1.dev1394.dist-info/RECORD +0 -10
qmenta/client/Account.py
CHANGED
|
@@ -110,9 +110,9 @@ class Account:
|
|
|
110
110
|
Project
|
|
111
111
|
A project object representing the desired project
|
|
112
112
|
"""
|
|
113
|
-
if type(project_id)
|
|
113
|
+
if type(project_id) is int or type(project_id) is float:
|
|
114
114
|
return Project(self, int(project_id))
|
|
115
|
-
elif type(project_id)
|
|
115
|
+
elif type(project_id) is str:
|
|
116
116
|
projects = self.projects
|
|
117
117
|
projects_match = [
|
|
118
118
|
proj for proj in projects if proj['name'] == project_id
|
qmenta/client/Project.py
CHANGED
|
@@ -549,9 +549,9 @@ class Project:
|
|
|
549
549
|
True on success, False on fail
|
|
550
550
|
"""
|
|
551
551
|
|
|
552
|
-
if type(project_id)
|
|
552
|
+
if type(project_id) is int or type(project_id) is float:
|
|
553
553
|
p_id = int(project_id)
|
|
554
|
-
elif type(project_id)
|
|
554
|
+
elif type(project_id) is str:
|
|
555
555
|
projects = self._account.projects
|
|
556
556
|
projects_match = [proj for proj in projects if proj["name"] == project_id]
|
|
557
557
|
if not projects_match:
|
|
@@ -668,7 +668,7 @@ class Project:
|
|
|
668
668
|
the subject is not found.
|
|
669
669
|
"""
|
|
670
670
|
|
|
671
|
-
search_criteria = {"s_n": subject_name, "ssid": ssid}
|
|
671
|
+
search_criteria = {"s_n": subject_name, "ssid": str(ssid)}
|
|
672
672
|
response = self.list_input_containers(search_criteria=search_criteria)
|
|
673
673
|
|
|
674
674
|
for subject in response:
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
2
|
+
qmenta/client/Account.py,sha256=S9D0-lmcBln2o3DwJfmLfu5G2wjE7gEJCIeJu89v0Is,9647
|
|
3
|
+
qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
|
|
4
|
+
qmenta/client/Project.py,sha256=tr6_mKCt4hDA5Y8d24V1U3mZBq5_O86Y9TRQbOfLiM8,79916
|
|
5
|
+
qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
|
|
6
|
+
qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
|
|
7
|
+
qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
|
|
8
|
+
qmenta_client-1.1.dev1407.dist-info/METADATA,sha256=Yl4eXpBp1jtgLcIVWjCvddMUsOLldFaLS0JzSbWnNzc,672
|
|
9
|
+
qmenta_client-1.1.dev1407.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
10
|
+
qmenta_client-1.1.dev1407.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
2
|
-
qmenta/client/Account.py,sha256=MEljEy9cmg2uP2FG1d3TZAgfj66EE2_3PQAZ9rvpCXY,9647
|
|
3
|
-
qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
|
|
4
|
-
qmenta/client/Project.py,sha256=f26hL9fA5q_Xw3N6nOAJ7sTqWAJc191XqyZKdplJN2c,79911
|
|
5
|
-
qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
|
|
6
|
-
qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
|
|
7
|
-
qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
|
|
8
|
-
qmenta_client-1.1.dev1394.dist-info/METADATA,sha256=RDjxjhOMcm5vZF1QgoaKZiI4J7SD7x1rmCTuzFY1UEU,672
|
|
9
|
-
qmenta_client-1.1.dev1394.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
10
|
-
qmenta_client-1.1.dev1394.dist-info/RECORD,,
|