We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13e9f8 commit 40f7106Copy full SHA for 40f7106
wfdb/io/record.py
@@ -2027,7 +2027,9 @@ def rdrecord(
2027
2028
"""
2029
dir_name, base_record_name = os.path.split(record_name)
2030
- dir_name = os.path.abspath(dir_name)
+ # Update the dir_name using abspath unless it is a cloud path
2031
+ if not any(dir_name.startswith(proto) for proto in CLOUD_PROTOCOLS):
2032
+ dir_name = os.path.abspath(dir_name)
2033
2034
# Read the header fields
2035
if (pn_dir is not None) and ("." not in pn_dir):
0 commit comments