Mercurial > repos > proteore > proteore_data_manager
diff data_manager/resource_building.py @ 55:9fda95925297 draft
"planemo upload commit ba5a199cfc995bbac148163698af2bbcef9cc40b-dirty"
| author | proteore |
|---|---|
| date | Mon, 08 Jun 2020 14:49:19 +0000 |
| parents | 109fc5236204 |
| children | bd67848a789f |
line wrap: on
line diff
--- a/data_manager/resource_building.py Mon Jun 08 14:36:25 2020 +0000 +++ b/data_manager/resource_building.py Mon Jun 08 14:49:19 2020 +0000 @@ -283,7 +283,7 @@ def download_from_nextprot_ftp(file,target_directory) : ftp_dir = "pub/current_release/ac_lists/" path = os.path.join(target_directory, file) - ftp = ftplib.FTP("ftp.nextprot.org"") + ftp = ftplib.FTP("ftp.nextprot.org") ftp.login("anonymous", "anonymous") ftp.cwd(ftp_dir) ftp.retrbinary("RETR " + file, open(path, 'wb').write)
