Skip to content

Commit a434ef2

Browse files
authored
Merge pull request #43 from Cosmo-Tech/LAL/fix_downloader_on_dataset_part
fix download dataset type dataset_part as workspace_file
2 parents 2136dd8 + 93c75e8 commit a434ef2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CosmoTech_Acceleration_Library/Accelerators/scenario_download/scenario_downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def download_dataset(self, dataset_id: str) -> (str, str, Union[str, None]):
112112
is_adt = 'AZURE_DIGITAL_TWINS_URL' in parameters
113113
is_storage = 'AZURE_STORAGE_CONTAINER_BLOB_PREFIX' in parameters
114114
is_legacy_twin_cache = 'TWIN_CACHE_NAME' in parameters and dataset.twingraph_id is None # Legacy twingraph dataset with specific connector
115-
is_in_workspace_file = False if dataset.tags is None else 'workspaceFile' in dataset.tags
115+
is_in_workspace_file = False if dataset.tags is None else 'workspaceFile' in dataset.tags or 'dataset_part' in dataset.tags
116116

117117
if is_adt:
118118
return {

0 commit comments

Comments
 (0)