Commit bad36769 authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Update aria/core/legacy/DictWithDefault.py, aria/core/conversion.py files

parent 0866a533
......@@ -769,7 +769,8 @@ class SequenceList(AriaBaseClass):
from .PDBReader import BASE_TYPES
import sys
from io import StringIO
# from io import StringIO
from io import BytesIO as StringIO
# import StringIO
s = Reader()
......@@ -908,7 +909,8 @@ class PpmList(AriaBaseClass):
from .legacy.PpmList import PpmList as Reader
import sys
from io import StringIO
# from io import StringIO
from io import BytesIO as StringIO
r = Reader()
......@@ -1744,7 +1746,8 @@ class NoeList(AriaBaseClass):
from .legacy.NoeList import NoeList as Reader
import sys
from io import StringIO
# from io import StringIO
from io import BytesIO as StringIO
r = Reader()
a = [file]
......
......@@ -10,7 +10,7 @@ import copy
class DictWithDefault(UserDict):
def __init__(self, default, **kwargs):
super(UserDict, self).__init__(**kwargs)
UserDict.__init__(self, **kwargs)
self.data = {}
self.default = default
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment