Skip to content

Commit

Permalink
Fix all resolve paths in manifest testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Jul 17, 2024
1 parent 1e59572 commit 91b9870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/abc_atlas_cache/test_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_image_volume_file_attributes(self):
assert file_obj.url == 'https://allen-brain-cell-atlas.s3.us-west-2.amazonaws.com/image_volumes/MERFISH-C57BL6J-638850-CCF/20230630/resampled_annotation_boundary.nii.gz' # noqa: E501
assert file_obj.version == '20230630'
assert file_obj.file_size == 1548196
assert file_obj.local_path == cache_path / 'image_volumes/MERFISH-C57BL6J-638850-CCF/20230630/resampled_annotation_boundary.nii.gz' # noqa: E501
assert file_obj.local_path == (cache_path / 'image_volumes/MERFISH-C57BL6J-638850-CCF/20230630/resampled_annotation_boundary.nii.gz').resolve() # noqa: E501
assert file_obj.file_type == 'nii.gz'
assert file_obj.relative_path == 'image_volumes/MERFISH-C57BL6J-638850-CCF/20230630/resampled_annotation_boundary.nii.gz' # noqa: E501
assert file_obj.file_hash == "1ce4be21528fa6cbfb462a117552477d"
Expand All @@ -148,7 +148,7 @@ def test_expresion_matrix_file_attributes(self):
assert file_obj.url == 'https://allen-brain-cell-atlas.s3.us-west-2.amazonaws.com/expression_matrices/WMB-10Xv2/20230630/WMB-10Xv2-Isocortex-2-log2.h5ad' # noqa: E501
assert file_obj.version == '20230630'
assert file_obj.file_size == 9444387082
assert file_obj.local_path == cache_path / 'expression_matrices/WMB-10Xv2/20230630/WMB-10Xv2-Isocortex-2-log2.h5ad' # noqa: E501
assert file_obj.local_path == (cache_path / 'expression_matrices/WMB-10Xv2/20230630/WMB-10Xv2-Isocortex-2-log2.h5ad').resolve() # noqa: E501
assert file_obj.file_type == 'h5ad'
assert file_obj.relative_path == 'expression_matrices/WMB-10Xv2/20230630/WMB-10Xv2-Isocortex-2-log2.h5ad' # noqa: E501
assert file_obj.file_hash == "6cf8b3556e625b090c196ff5bb5f6cdd"
Expand Down

0 comments on commit 91b9870

Please sign in to comment.