Skip to content

Commit

Permalink
Small hacks... are these needed?
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jun 18, 2022
1 parent 33ab74e commit ed3b4c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/galaxy/objectstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ def _construct_path(
hash id (e.g., /files/dataset_10.dat (old) vs.
/files/000/dataset_10.dat (new))
"""
base = os.path.abspath(self.extra_dirs.get(base_dir, self.file_path))
base = os.path.abspath(self.extra_dirs.get(base_dir) or self.file_path)
# extra_dir should never be constructed from provided data but just
# make sure there are no shenannigans afoot
if extra_dir and extra_dir != os.path.normpath(extra_dir):
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy_test/api/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def test_delete_batch(self):
dataset_map: Dict[int, str] = {}
history_id = self.dataset_populator.new_history()
for index in range(num_datasets):
hda = self.dataset_populator.new_dataset(history_id)
hda = self.dataset_populator.new_dataset(history_id, wait=True)
dataset_map[index] = hda["id"]

expected_deleted_source_ids = [
Expand Down

0 comments on commit ed3b4c3

Please sign in to comment.