You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, os.path.join will produce backslash rather than slash. Therefore, the created url will be wrong (os.path.join(repo_owner, repo_name))
May need to handle this to avoid issues for Windows users.
The text was updated successfully, but these errors were encountered:
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
Fixes#5775 .
### Description
This PR fixes the issue of `_get_latest_bundle_version` on Windows
(`os.path.join` will produce backslash which will create a wrong url)
Thanks @SachidanandAlle for finding this issue.
### 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).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
MONAI/monai/bundle/scripts.py
Line 185 in 69463a6
On Windows,
os.path.join
will produce backslash rather than slash. Therefore, the created url will be wrong (os.path.join(repo_owner, repo_name)
)May need to handle this to avoid issues for Windows users.
The text was updated successfully, but these errors were encountered: