1 parent a234286 commit cbdddd5Copy full SHA for cbdddd5
1 file changed
dr2xml/file_splitting.py
@@ -38,7 +38,7 @@ def read_splitfreqs():
38
with open(splitfile, "r") as freq:
39
print("Reading split_freqs from file %s" % splitfile)
40
lines = freq.readlines()
41
- splitfreqs = defaultdict(lambda: OrderedDict)
+ splitfreqs = defaultdict(lambda: OrderedDict())
42
for line in [l for l in lines if not l.startswith("#")]:
43
(varlabel, table, freq) = line.split()[0:3]
44
# Keep smallest factor for each variable label
0 commit comments