SeqUtils cleanup
SeqUtils cleanup: a task in life-science-SWE1.0 (Harbor dataset). Whitespace is removed from seq by calling "".join(str(seq).split()) . But it's not necessary to do this, as any whitespace in seq will be caught as a KeyError anyway. With this PR, molecular weight can be applied to SeqRecord…
The task
Whitespace is removed from `seq` by calling `"".join(str(seq).split())`. But it's not necessary to do this, as any whitespace in `seq` will be caught as a `KeyError` anyway. With this PR, `molecular_weight` can be applied to `SeqRecord` objects (in addition to `Seq` objects and plain strings). I have expanded the…
Part of scalingX/life-science-SWE1.0.