Commit ee4d83f9 authored by Yuxin Wu's avatar Yuxin Wu

fix lats bug

parent 12d51ccd
...@@ -167,6 +167,7 @@ class LMDBDataPoint(MapData): ...@@ -167,6 +167,7 @@ class LMDBDataPoint(MapData):
Args: Args:
args, kwargs: Same as in :class:`LMDBData`. args, kwargs: Same as in :class:`LMDBData`.
""" """
ds = LMDBData(*args, **kwargs)
def f(dp): def f(dp):
return loads(dp[1]) return loads(dp[1])
super(LMDBDataPoint, self).__init__(ds, f) super(LMDBDataPoint, self).__init__(ds, f)
......
Markdown is supported
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