Support for Non-Integer-Dimension in scidbpy?


#1

Hi Folks,
Just wondering what are the plans for support of Non-Integer-Dimension in scidbpy?

Currently I get the following error:

File "getUniqueFiles.py", line 10, in <module> ar=sdb.wrap_array(final_6d_lcms100) File "/global/project/projectdirs/paralleldb/lcms/carver/virtenv/lib/python2.7/site-packages/scidbpy/interface.py", line 172, in wrap_array datashape = SciDBDataShape.from_schema(schema) File "/global/project/projectdirs/paralleldb/lcms/carver/virtenv/lib/python2.7/site-packages/scidbpy/scidbarray.py", line 252, in from_schema return cls(shape=[int(d[2]) - int(d[1]) + 1 for d in dshapes], ValueError: invalid literal for int() with base 10: '50,10,0,D_LOGMZ=1600000'

The array itself look like this:

show(final_6d_lcms100) [("final_6d_lcms100<MZ:double,RT:double,I:double,precursorMZ:double,precursorIntensity:double,collisionEnergy:double> [file(string)=50,10,0,D_LOGMZ=1600000:3300000,100000,0,D_RT=0:40000000,1000000,0,D_I=0:3000000,100000,0,D_L=1:2,1,0,D_P=0:1,1,0]")]

Thanks
-Yushu