``` import synapseclient syn = synapseclient.Synapse() syn.login('username', 'password') SyntheticColon_I_Train_ID = [ "syn29431069", "syn29431648", "syn29431879", "syn29432202", "syn29432805", "syn29433043", "syn29433358", "syn29433624", "syn29436544", "syn29436758", "syn29436767", "syn29436771", "syn29436778", "syn29436784", "syn29436786", "syn29436787", "syn29436789", "syn29436791", "syn29436793", "syn29436794", "syn29436801", "syn29436806", "syn29436808", "syn29436810", "syn29436814", "syn29436816", "syn29436818", "syn29436821", "syn29436823", "syn29436824", "syn29436826", "syn29436828", "syn29436830", "syn29436959", "syn29437281", "syn29437330", "syn29437331", "syn29437332", "syn29437333", "syn29437619",] for syn_id in SyntheticColon_I_Train_ID: entity = syn.get(syn_id, downloadLocation='./SyntheticColon_I_Train') print(entity.name) print(entity.path) SyntheticColon_II_Train_ID = [ "syn31488543", "syn31488546", "syn31488549", "syn31488559", "syn31488573", "syn31488578", "syn31488587", "syn31488590", "syn31488600", "syn31488608", "syn31488612", "syn31488614", "syn31488636", "syn31488637", "syn31488638", "syn31488639", "syn31488640", "syn31488641", "syn31488642", "syn31488643", "syn31488644", "syn31488645", "syn31488646", "syn31488647", "syn31488648", "syn31488649", "syn31488650", "syn31488651", "syn31488652", "syn31488653", "syn31488654", "syn31488655", "syn31488656", "syn31488657", "syn31488658", "syn31488659", "syn31488668", "syn31488669",] for syn_id in SyntheticColon_II_Train_ID: entity = syn.get(syn_id, downloadLocation='./SyntheticColon_II_Train') print(entity.name) print(entity.path) ```
Created by
wtyuan
Drop files to upload
Your web browser must have JavaScript enabled in order for this application to display correctly.
If you are an automated web crawler from a search engine, follow this
AJAX application crawl link
Python script for downloading Synthetic colon I & II
page is loading…