Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-20 07:58:58

0001 from pandaharvester.harvestercore.file_spec import FileSpec
0002 from pandaharvester.harvestercore.plugin_base import PluginBase
0003 
0004 
0005 # base extractor
0006 class BaseExtractor(PluginBase):
0007     # constructor
0008     def __init__(self, **kwarg):
0009         PluginBase.__init__(self, **kwarg)
0010 
0011     # make dictionary for aux inputs
0012     def make_aux_inputs(self, url_list):
0013         retVal = dict()
0014         for url in url_list:
0015             lfn = url.split("/")[-1]
0016             retVal[lfn] = {"scope": "aux_input", "INTERNAL_FileType": FileSpec.AUX_INPUT, "INTERNAL_URL": url}
0017         return retVal