created newresult function in NIST.py
This commit is contained in:
parent
0021953a9a
commit
de21891bff
@ -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)
|
||||||
|
Reference in New Issue
Block a user