removed unused variable symbol_table from parse_transition_table
This commit is contained in:
parent
81719a38fb
commit
95565042ca
@ -57,8 +57,7 @@ class NIST(Source):
|
|||||||
elif tables.xpath('tr/th="Initial Phase"').extract()[0] == '1':
|
elif tables.xpath('tr/th="Initial Phase"').extract()[0] == '1':
|
||||||
log.msg('NIST table; Enthalpy/entropy of phase transition',
|
log.msg('NIST table; Enthalpy/entropy of phase transition',
|
||||||
level=log.DEBUG)
|
level=log.DEBUG)
|
||||||
requests.extend(
|
requests.extend(self.parse_transition_data(tables))
|
||||||
self.parse_transition_data(tables, symbol_table))
|
|
||||||
elif tables.xpath('tr[1]/td'):
|
elif tables.xpath('tr[1]/td'):
|
||||||
log.msg('NIST table: Horizontal table', level=log.DEBUG)
|
log.msg('NIST table: Horizontal table', level=log.DEBUG)
|
||||||
elif (tables.xpath('@summary').extract()[0] ==
|
elif (tables.xpath('@summary').extract()[0] ==
|
||||||
@ -163,7 +162,7 @@ class NIST(Source):
|
|||||||
return results
|
return results
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def parse_transition_data(table, symbol_table):
|
def parse_transition_data(table):
|
||||||
"""Parses the table containing properties regarding phase changes"""
|
"""Parses the table containing properties regarding phase changes"""
|
||||||
results = []
|
results = []
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user