Skip to content
Snippets Groups Projects
Commit 5f8ea572 authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13462: Updated dataset download scheme to use fastdownload when api...

SSDM-13462: Updated dataset download scheme to use fastdownload when api version is greater than 3.5
parent 5a0785a9
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -481,8 +481,7 @@ class DataSet( ...@@ -481,8 +481,7 @@ class DataSet(
wait_until_finished=True, wait_until_finished=True,
workers=10, workers=10,
linked_dataset_fileservice_url=None, linked_dataset_fileservice_url=None,
content_copy_index=0, content_copy_index=0
fast=False
): ):
"""download the files of the dataSet. """download the files of the dataSet.
...@@ -511,7 +510,7 @@ class DataSet( ...@@ -511,7 +510,7 @@ class DataSet(
kind = self.data["type"]["kind"] kind = self.data["type"]["kind"]
if kind in ["PHYSICAL", "CONTAINER"]: if kind in ["PHYSICAL", "CONTAINER"]:
if fast is True: if self.openbis.get_server_information().is_version_greater_than(3, 5):
return self._download_fast_physical(files, destination, create_default_folders, return self._download_fast_physical(files, destination, create_default_folders,
wait_until_finished) wait_until_finished)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment