Skip to content

Commit

Permalink
more cleanup, purging OrderedDict
Browse files Browse the repository at this point in the history
  • Loading branch information
newville committed Sep 13, 2023
1 parent cd8186e commit 2208c37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions larch/wxlib/xrfdisplay_fitpeaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import time
import copy
from functools import partial
from collections import OrderedDict

from threading import Thread

import json
Expand Down Expand Up @@ -49,7 +47,7 @@
def read_filterdata(flist, _larch):
""" read filters data"""
materials = _larch.symtable.get_symbol('_xray._materials')
out = OrderedDict()
out = {}
out['None'] = ('', 0)
for name in flist:
if name in materials:
Expand Down
1 change: 0 additions & 1 deletion larch/wxlib/xrfdisplay_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""
import copy
from functools import partial
from collections import OrderedDict
import time
import numpy as np

Expand Down

0 comments on commit 2208c37

Please sign in to comment.