MCPcopy Create free account
hub / github.com/modelscope/modelscope / download

Function download

modelscope/preprocessors/science/uni_fold.py:77–80  ·  view source on GitHub ↗
(ID, path)

Source from the content-addressed store, hash-verified

75 return out
76
77 def download(ID, path):
78 res = requests.get(f'{host_url}/result/download/{ID}')
79 with open(path, 'wb') as out:
80 out.write(res.content)
81
82 # process input x
83 seqs = [x] if isinstance(x, str) else x

Callers 1

run_mmseqs2Function · 0.70

Calls 2

getMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…