When using GEOparse to download suplamentry files from GEO accession that includes more than one suplamentry file I got this erorr:
Traceback (most recent call last):
File "C:/Users/User/PycharmProjects/test_geo/main.py", line 17, in
get_sup_data(out_dir, gse_num)
File "C:/Users/User/PycharmProjects/test_geo/main.py", line 15, in get_sup_data
print(gse.gsms[gsm].download_supplementary_files(directory=out_dir, download_sra=False))
File "C:\Users\User\PycharmProjects\test_geo\venv\lib\site-packages\GEOparse\GEOTypes.py", line 493, in download_supplementary_files
assert len(metavalue) == 1 and metavalue != ""
AssertionError
I found that the script is expecting one file only. I changed the code to allow download of all supplementary files.
When using GEOparse to download suplamentry files from GEO accession that includes more than one suplamentry file I got this erorr:
Traceback (most recent call last): File "C:/Users/User/PycharmProjects/test_geo/main.py", line 17, in
get_sup_data(out_dir, gse_num)
File "C:/Users/User/PycharmProjects/test_geo/main.py", line 15, in get_sup_data
print(gse.gsms[gsm].download_supplementary_files(directory=out_dir, download_sra=False))
File "C:\Users\User\PycharmProjects\test_geo\venv\lib\site-packages\GEOparse\GEOTypes.py", line 493, in download_supplementary_files
assert len(metavalue) == 1 and metavalue != ""
AssertionError
I found that the script is expecting one file only. I changed the code to allow download of all supplementary files.