templateflow / python-client

A python client to query TemplateFlow via pyBIDS
https://templateflow.org/python-client/
Apache License 2.0
8 stars 12 forks source link

FIX: Use Path.as_posix() and f-strinigs to build correct URLs on Windows #107

Closed mfschmidt closed 1 year ago

mfschmidt commented 1 year ago

Replace backslashes with forward slashes in all paths. This should create correct https urls from broken windows paths, and should not affect paths from other systems.

codecov[bot] commented 1 year ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Files Coverage Δ
templateflow/api.py 82.56% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.