def check_files(self):
    'Checks whether all files exist\n\n        The method checks whether the files whose names\n        are within the class data do exist or not.\n        An error is reported in case that the files\n        do not exist.\n\n        '
    n_sens = 0
    fkeys = ['SENSITIVITY_']
    for key in fkeys:
        full_keyword = (key + self.ident)
        for bkey in self.beamkeys:
            if ((bkey.keyword is full_keyword) and (bkey.keyvalue.upper() is not 'NONE')):
                if (not os.path.isfile(config_util.getCONF(bkey.keyvalue))):
                    err_msg = 'The file: {0:s} does not exist!'.format(config_util.getCONF(bkey.keyvalue))
                    raise aXeError(err_msg)
                else:
                    n_sens += 1
    return n_sens
Checks whether all files exist

The method checks whether the files whose names
are within the class data do exist or not.
An error is reported in case that the files
do not exist.
def check_files(self):
    'Checks whether all files exist\n\n        The method checks whether the files whose names\n        are within the class data do exist or not.\n        An error is reported in case that the files\n        do not exist.\n\n        '
    n_sens = 0
    fkeys = ['SENSITIVITY_']
    for key in fkeys:
        full_keyword = (key + self.ident)
        for bkey in self.beamkeys:
            if ((bkey.keyword is full_keyword) and (bkey.keyvalue.upper() is not 'NONE')):
                if (not os.path.isfile(config_util.getCONF(bkey.keyvalue))):
                    err_msg = 'The file: {0:s} does not exist!'.format(config_util.getCONF(bkey.keyvalue))
                    raise aXeError(err_msg)
                else:
                    n_sens += 1
    return n_sens