MCPcopy Create free account
hub / github.com/Slicer/Slicer / downloadSamples

Function downloadSamples

Modules/Scripted/SampleData/SampleData.py:57–61  ·  view source on GitHub ↗

For a given sample name this will search the available sources and load it if it is available. Returns the loaded nodes.

(sampleName)

Source from the content-addressed store, hash-verified

55
56
57def downloadSamples(sampleName):
58 """For a given sample name this will search the available sources
59 and load it if it is available. Returns the loaded nodes.
60 """
61 return SampleDataLogic().downloadSamples(sampleName)
62
63
64#

Callers

nothing calls this directly

Calls 2

SampleDataLogicClass · 0.85
downloadSamplesMethod · 0.80

Tested by

no test coverage detected