ReinV / SCOPE

Search and Chemical Ontology Plotting Environment
Other
1 stars 2 forks source link

Warning message #36

Closed magnuspalmblad closed 2 years ago

magnuspalmblad commented 3 years ago

This just a warning message I got while running make_table.py, but perhaps something that should be addressed to avoid problems in the future. The python scripts all work now (20210914).

(base) C:\Users\magnus\Desktop\SCOPE-master>python make_table.py -i results -t folder
getting searches by year ...
making table for LCMS
C:\Users\magnus\anaconda3\lib\site-packages\numpy\core\_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)
making table for NMR
C:\Users\magnus\anaconda3\lib\site-packages\numpy\core\_asarray.py:102: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return array(a, dtype, copy=False, order=order)

(base) C:\Users\magnus\Desktop\SCOPE-master>
ReinV commented 3 years ago

I can't recreate this warning, and I also don't see an obvious line of code where the warning could come from. Could you please test for me if you get this warning in the lastest SCOPE version?

ReinV commented 2 years ago

Do you still get this warning?

magnuspalmblad commented 2 years ago

No, not with the latest version.