A first version of obimicroasm...

This commit is contained in:
Eric Coissac committed 2025-02-16 21:47:49 +01:00
1 parent 4774438644
commit d70b0a5b42
11 files changed
+1234 -27

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ func (s *BioSequence) UnPair() {
}
func (s *BioSequenceSlice) IsPaired() bool {
return (*s)[0].paired != nil
return s != nil && s.Len() > 0 && (*s)[0].paired != nil
}
func (s *BioSequenceSlice) PairedWith() *BioSequenceSlice {