We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ee2fd2 + 0cca133 commit 0d24776Copy full SHA for 0d24776
schematic/store/synapse.py
@@ -708,6 +708,11 @@ def getFilesInStorageDataset(
708
# This is a workaround to fileviews not always containing the latest information
709
self.query_fileview(force_requery=True)
710
# 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
+
716
child_path = self.storageFileviewTable.loc[
717
self.storageFileviewTable["parentId"] == datasetId, "path"
718
]
0 commit comments