Skip to content

Commit

Permalink
reformat for compatibility with black
Browse files Browse the repository at this point in the history
  • Loading branch information
briangow committed Jan 6, 2025
1 parent d72ccd7 commit 8930f1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wfdb/io/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,9 @@ def rdheader(record_name, pn_dir=None, rd_segments=False):
dir_name = os.path.abspath(dir_name)

# If this is a cloud path we leave it as is
if (pn_dir is not None) and any(pn_dir.startswith(proto) for proto in download.CLOUD_PROTOCOLS):
if (pn_dir is not None) and any(
pn_dir.startswith(proto) for proto in download.CLOUD_PROTOCOLS
):
pass
# If it isn't a cloud path, construct the download path using the database version
elif (pn_dir is not None) and ("." not in pn_dir):
Expand Down

0 comments on commit 8930f1c

Please sign in to comment.