candle.modac_utils.get_file_from_modac

candle.modac_utils.get_file_from_modac#

candle.modac_utils.get_file_from_modac(fname, origin)#

Downloads a file from the “Model and Data Clearning House” (MoDAC) repository. Users should already have a MoDAC account to download the data. Accounts can be created on modac.cancer.gov.

Parameters:
  • fname (string) – path on disk to save the file

  • origin (string) – original MoDAC URL of the file

Returns:

Path to the downloaded file

Return type:

string