Commit da5c6fee authored by Wei Shoulin's avatar Wei Shoulin
Browse files

s-v

parent bad9d9f6
......@@ -92,13 +92,13 @@ def tuple_fields_dtypes(rec: tuple):
if type(f) == int:
dtypes.append('i8')
elif type(f) == float:
dtypes.append('f8')
dtypes.append('f8')
elif type(f) == str:
dtypes.append('S2')
dtypes.append('V')
elif type(f) == list:
dtypes.append('(12,)f8')
dtypes.append('(12,)f8')
else:
dtypes.append('S2')
dtypes.append('V')
dtypes = tuple(dtypes)
return dtypes
......
......@@ -82,7 +82,7 @@ class Level0DataApi(object):
def write(self, **kwargs):
''' insert a level0 data record into database
:param kwargs: Parameter dictionary, key items support:
obs_id = [str],
detector_no = [str],
......
import unittest
from csst_dfs_api.mbi.level2co import Level2CoApi
from csst_dfs_api.mbi import Level2CoApi
class MBILevel2CoDataTestCase(unittest.TestCase):
......
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