qmenta-client 1.1.dev1324__py3-none-any.whl → 1.1.dev1326__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/Project.py
CHANGED
|
@@ -1898,71 +1898,6 @@ class Project:
|
|
|
1898
1898
|
raise Exception(f"Must specify {patient_secret_name} and {ssid} or {analysis_id}.")
|
|
1899
1899
|
return to_return
|
|
1900
1900
|
|
|
1901
|
-
def start_multiple_analyses(
|
|
1902
|
-
self,
|
|
1903
|
-
script_name,
|
|
1904
|
-
version,
|
|
1905
|
-
n_times,
|
|
1906
|
-
in_container_id=None,
|
|
1907
|
-
analysis_name=None,
|
|
1908
|
-
analysis_description=None,
|
|
1909
|
-
ignore_warnings=False,
|
|
1910
|
-
settings=None,
|
|
1911
|
-
tags=None,
|
|
1912
|
-
preferred_destination=None,
|
|
1913
|
-
):
|
|
1914
|
-
"""
|
|
1915
|
-
Starts multiple times the same analysis on a subject with the same
|
|
1916
|
-
settings.
|
|
1917
|
-
|
|
1918
|
-
Parameters
|
|
1919
|
-
----------
|
|
1920
|
-
script_name : str
|
|
1921
|
-
ID of the script to be run.
|
|
1922
|
-
version: str
|
|
1923
|
-
Version of the script to be run, examples: 1.0, 5.3.4
|
|
1924
|
-
n_times: int
|
|
1925
|
-
Number of analyses to be scheduled
|
|
1926
|
-
in_container_id : int or dict
|
|
1927
|
-
The ID of the container to get the data from, or a dictionary with
|
|
1928
|
-
one or more container names as keys, and IDs as values.
|
|
1929
|
-
Input container names are generally prefixed with "input\\_".
|
|
1930
|
-
If not, the prefix will be automatically added.
|
|
1931
|
-
analysis_name : str
|
|
1932
|
-
Name of the analysis (optional)
|
|
1933
|
-
analysis_description : str
|
|
1934
|
-
Description of the analysis (optional)
|
|
1935
|
-
ignore_warnings : bool
|
|
1936
|
-
If False, warnings by server cause failure.
|
|
1937
|
-
settings : dict
|
|
1938
|
-
The input settings used to run the analysis.
|
|
1939
|
-
Use either settings or in_container_id. Input specification
|
|
1940
|
-
in the settings dict can be done by using the key "input".
|
|
1941
|
-
tags : list[str]
|
|
1942
|
-
The tags of the analysis.
|
|
1943
|
-
preferred_destination : str
|
|
1944
|
-
The machine on which to run the analysis
|
|
1945
|
-
|
|
1946
|
-
Yields
|
|
1947
|
-
-------
|
|
1948
|
-
int
|
|
1949
|
-
The analysis ID if correctly started, None otherwise.
|
|
1950
|
-
"""
|
|
1951
|
-
logger = logging.getLogger(logger_name)
|
|
1952
|
-
for n in range(n_times):
|
|
1953
|
-
logger.info(f"Running tool {script_name}:{version} {n + 1}/{n_times}")
|
|
1954
|
-
yield self.start_analysis(
|
|
1955
|
-
script_name,
|
|
1956
|
-
version,
|
|
1957
|
-
in_container_id=in_container_id,
|
|
1958
|
-
analysis_name=analysis_name,
|
|
1959
|
-
analysis_description=analysis_description,
|
|
1960
|
-
ignore_warnings=ignore_warnings,
|
|
1961
|
-
settings=settings,
|
|
1962
|
-
tags=tags,
|
|
1963
|
-
preferred_destination=preferred_destination,
|
|
1964
|
-
)
|
|
1965
|
-
|
|
1966
1901
|
def set_project_qa_rules(self, rules_file_path, guidance_text=""):
|
|
1967
1902
|
"""
|
|
1968
1903
|
Logs in to the Qmenta platform, retrieves the project ID based on the project name,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
qmenta/__init__.py,sha256=jv2YF__bseklT3OWEzlqJ5qE24c4aWd5F4r0TTjOrWQ,65
|
|
2
2
|
qmenta/client/Account.py,sha256=MEljEy9cmg2uP2FG1d3TZAgfj66EE2_3PQAZ9rvpCXY,9647
|
|
3
3
|
qmenta/client/File.py,sha256=ZgvSqejIosUt4uoX7opUnPnp5XGEaJNMRwFC0mQVB8k,5344
|
|
4
|
-
qmenta/client/Project.py,sha256=
|
|
4
|
+
qmenta/client/Project.py,sha256=T_IoH_CpyFg0IaaXeQW_x1xH76n8FsX_2v0qWJo7Yuk,68063
|
|
5
5
|
qmenta/client/Subject.py,sha256=lhxxVdQ6d-GNoQC8mrJwa4L1f44nJc4PcJtDspmKN7I,8756
|
|
6
6
|
qmenta/client/__init__.py,sha256=AjTojBhZeW5nl0i605KS8S1Gl5tPNc1hdzD47BGNfoI,147
|
|
7
7
|
qmenta/client/utils.py,sha256=5DK2T_HQprrCwLS0Ycm2CjseaYmAUKaJkJvYoW-Rqzc,2479
|
|
8
|
-
qmenta_client-1.1.
|
|
9
|
-
qmenta_client-1.1.
|
|
10
|
-
qmenta_client-1.1.
|
|
8
|
+
qmenta_client-1.1.dev1326.dist-info/METADATA,sha256=h6qd-k47PLto2IDPKURSwiuRhRyfFA3bZ8a0-IRbGrE,672
|
|
9
|
+
qmenta_client-1.1.dev1326.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
10
|
+
qmenta_client-1.1.dev1326.dist-info/RECORD,,
|
|
File without changes
|