Skip to content

Commit

Permalink
fix: adds check for smartspim source folder (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 authored Oct 5, 2024
1 parent 90a01f7 commit 710995d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aind_data_upload_utils/check_directories_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def _get_list_of_directories_to_check(self) -> List[Union[Path, str]]:
if modality == Modality.SPIM and platform == Platform.SMARTSPIM:
# Check top level files
base_path = str(source_dir).rstrip("/")
self._check_path(Path(base_path).as_posix())
for _ in range(0, self.job_settings.num_of_smart_spim_levels):
base_path = base_path + "/*"
for smart_spim_path in glob(base_path):
Expand Down

0 comments on commit 710995d

Please sign in to comment.