Defines the plugin to perform evaluation on the lfn name

class DIRAC.Resources.Catalog.ConditionPlugins.FilenamePlugin.FilenamePlugin(conditions)

Bases: FCConditionBasePlugin

This plugin is to be used when filtering based on the LFN name

the condition can be any method of the python string object that can be evaluated

as True or False:

  • endswith

  • find

  • isalnum

  • isalpha

  • isdigit

  • islower

  • isspace

  • istitle

  • isupper

  • startswith

It should be written just like if you were calling the python call yourself. For example:


evaluate the parameters. The lfn argument is mandatory