Archived
1
0

created newresult function in NIST.py

This commit is contained in:
RTB 2014-06-06 18:52:18 +02:00
parent 0021953a9a
commit de21891bff

View File

@ -269,6 +269,15 @@ class NIST(Source):
return results return results
def newresult(self, attribute, value, conditions=''):
return Result({
'attribute': attribute,
'value': value,
'source': 'NIST',
'reliability': self.cfg['reliability'],
'conditions': conditions
})
def new_compound_request(self, compound): def new_compound_request(self, compound):
if compound not in self.ignore_list: if compound not in self.ignore_list:
self.ignore_list.update(compound) self.ignore_list.update(compound)