compomics / DeepLC

DeepLC: Retention time prediction for (modified) peptides using Deep Learning.
https://iomics.ugent.be/deeplc
Apache License 2.0
52 stars 18 forks source link

Raise `TypeError: object of type 'float' has no len()` for the table without modifications #15

Closed DongElkan closed 4 years ago

DongElkan commented 4 years ago

When I use the example provided in the doc to do retention time prediction using dlc.make_preds with parameter calibrate=False, TypeError: object of type 'float' has no len() was raised at: File "c:\program files\python38\lib\site-packages\deeplc\feat_extractor.py", line 989, in encode_atoms if len(mods) == 0: TypeError: object of type 'float' has no len()