You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Determine whether the input parameter corresponds to a file manifest or a list of collection_id, PatientID, StudyInstanceUID, or SeriesInstanceUID values, and download the corresponding files into the current directory. Default parameters will be used for organizing the downloaded files into folder hierarchy. Use `download_from_selection()` and `download_from_manifest()` functions if granular control over the download process is needed.
277
+
"""
278
+
# Set the logging level for the CLI module
279
+
set_log_level(log_level)
280
+
# Create an instance of the IDCClient
281
+
client=IDCClient()
282
+
283
+
logger_cli.info(f"Downloading from IDC {client.get_idc_version()} index")
284
+
285
+
download_dir=Path.cwd()
286
+
287
+
ifPath(generic_argument).is_file():
288
+
# Parse the input parameters and pass them to IDC
289
+
logger_cli.info("Detected manifest file, downloading from manifest.")
0 commit comments