Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows conda env test_wsireader #5164

Closed
wyli opened this issue Sep 16, 2022 · 0 comments · Fixed by #5165
Closed

windows conda env test_wsireader #5164

wyli opened this issue Sep 16, 2022 · 0 comments · Fixed by #5165

Comments

@wyli
Copy link
Contributor

wyli commented Sep 16, 2022

log: https://github.com/Project-MONAI/MONAI/actions/runs/2968744109/jobs/4753062868

======================================================================
FAIL: test_read_region_1_d_a_monai_monai_tests_testing_data_temp_CMU_1_tiff_tiff (tests.test_wsireader.TestTiffFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Miniconda\envs\monai\lib\site-packages\parameterized\parameterized.py", line 533, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "d:\a\monai\monai\tests\test_wsireader.py", line 293, in test_read_region
    self.assertEqual(meta["path"], str(os.path.abspath(file_path)))
AssertionError: 'D:\\a\\MONAI\\MONAI\\tests\\testing_data\\temp_CMU-1.tiff.tiff' != 'd:\\a\\monai\\monai\\tests\\testing_data\\temp_CMU-1.tiff.tiff'
- D:\a\MONAI\MONAI\tests\testing_data\temp_CMU-1.tiff.tiff
? ^    ^^^^^ ^^^^^
+ d:\a\monai\monai\tests\testing_data\temp_CMU-1.tiff.tiff
? ^    ^^^^^ ^^^^^


======================================================================
FAIL: test_read_region_3_d_a_monai_monai_tests_testing_data_temp_CMU_1_tiff_tiff (tests.test_wsireader.TestTiffFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Miniconda\envs\monai\lib\site-packages\parameterized\parameterized.py", line 533, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "d:\a\monai\monai\tests\test_wsireader.py", line 293, in test_read_region
    self.assertEqual(meta["path"], str(os.path.abspath(file_path)))
AssertionError: 'D:\\a\\MONAI\\MONAI\\tests\\testing_data\\temp_CMU-1.tiff.tiff' != 'd:\\a\\monai\\monai\\tests\\testing_data\\temp_CMU-1.tiff.tiff'
- D:\a\MONAI\MONAI\tests\testing_data\temp_CMU-1.tiff.tiff
? ^    ^^^^^ ^^^^^
+ d:\a\monai\monai\tests\testing_data\temp_CMU-1.tiff.tiff
? ^    ^^^^^ ^^^^^

wyli added a commit that referenced this issue Sep 16, 2022
Signed-off-by: Wenqi Li <[email protected]>
@wyli wyli mentioned this issue Sep 16, 2022
7 tasks
wyli added a commit that referenced this issue Sep 16, 2022
Fixes #5164

### Description
fixes file path tests

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.

Signed-off-by: Wenqi Li <[email protected]>
KumoLiu pushed a commit that referenced this issue Nov 2, 2022
Fixes #5164

### Description
fixes file path tests

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [x] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.

Signed-off-by: Wenqi Li <[email protected]>
Signed-off-by: KumoLiu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant