Skip to content

Commit 0d24776

Browse files
authored
Merge branch 'fds-2293-file-paths-for-manifest-gen' into fds-2293-fix-tests
2 parents 0ee2fd2 + 0cca133 commit 0d24776

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

schematic/store/synapse.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,11 @@ def getFilesInStorageDataset(
708708
# This is a workaround to fileviews not always containing the latest information
709709
self.query_fileview(force_requery=True)
710710
# Get path to dataset folder by using childern to avoid cases where the dataset is the scope of the view
711+
if self.storageFileviewTable.empty:
712+
raise ValueError(
713+
f"Fileview {self.storageFileview} is empty, please check the table and the provided synID and try again."
714+
)
715+
711716
child_path = self.storageFileviewTable.loc[
712717
self.storageFileviewTable["parentId"] == datasetId, "path"
713718
]

0 commit comments

Comments
 (0)