D-SCRIPT icon indicating copy to clipboard operation
D-SCRIPT copied to clipboard

Optimization Parameter Causes Exceptions In Predictions

Open merterden98 opened this issue 2 years ago • 0 comments

https://github.com/samsledje/D-SCRIPT/blob/5cefd93122fc9f2b9b4e176a0fa74fca719919dd/dscript/models/interaction.py#L112C72-L112C72

When the size of the sequence is > 2000. The parameter used from broadcasting downstream causes multiplication errors. These errors are silenced in the try except block in commands/predict.py. I think the choice of 2000 was to limit the size of the AA sequence passed due to memory constraints? I propose either expanding the length of the parameter, or providing a warning beforehand, as tracing the error message is non trivial.

merterden98 avatar Aug 09 '23 12:08 merterden98