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
Copy file name to clipboardExpand all lines: wfdb/_rdsamp.py
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@
4
4
importmath
5
5
importsys
6
6
importconfigparser
7
-
fromurllibimporturlretrieve
8
7
importconfigparser
8
+
importrequests
9
9
10
10
defcheckrecordfiles(recordname, filedirectory):
11
11
"""Check a local directory along with the database cache directory specified in 'config.ini' for all necessary files required to read a WFDB record. Calls pbdownload.dlrecordfiles to download any missing files into the database cache directory. Returns the base record name if all files were present, or a full path record name specifying where the downloaded files are to be read, and a list of files downloaded.
0 commit comments