mcollatz / EpiDope

Prediction of B-cell epitopes from amino acid sequences using deep neural networks.
MIT License
14 stars 10 forks source link

VisibleDeprecationWarning #9

Closed abrozzi closed 3 years ago

abrozzi commented 3 years ago

Is this ok? bests, -A

Predicting EpiDope scores.
/miniconda/envs/epidope/lib/python3.7/site-packages/epidope/epidope2.py:133: 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.
  foo = np.array(splited_em_seq)
/miniconda/envs/epidope/lib/python3.7/site-packages/epidope/epidope2.py:135: 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 np.array(splited_em_seqs[0])
/miniconda/envs/epidope/lib/python3.7/site-packages/epidope/epidope2.py:122: 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 np.array(splited_AA_seqs)
flomock commented 3 years ago

Can you please provide us the exact example for which this happens? So the fasta file and the parameters you use?

Greetings, Florian

flomock commented 3 years ago

Due to no response I'll close this issue.