Skip to content

Commit ecead8d

Browse files
committed
update sas module and test to reflect new changes
1 parent dd32346 commit ecead8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/diffpy/srfit/sas/sasparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def parseFile(self, filename):
126126
# FIXME: Revisit when we refactor the SAS characteristic functions.
127127
# Why is a list imported but only the first element is taken?
128128
# Is this desired behavior?
129-
self.selectBank(0)
129+
self.select_bank(0)
130130
return
131131

132132
def parseString(self, patstring):

tests/test_sas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def testParser(sas_available, datafile):
3131
data = datafile("sas_ascii_test_1.txt")
3232
parser = SASParser()
3333
parser.parseFile(data)
34-
x, y, dx, dy = parser.getData()
34+
x, y, dx, dy = parser.get_data()
3535
testx = numpy.array(
3636
[
3737
0.002618,

0 commit comments

Comments
 (0)