correction of several small bugs

This commit is contained in:
Eric Coissac
2024-09-03 06:08:07 -03:00
parent 373464cb06
commit 65ae82622e
22 changed files with 770 additions and 79 deletions

View File

@@ -36,8 +36,9 @@ func MakeNGSLibrary() NGSLibrary {
}
func (library *NGSLibrary) GetMarker(forward, reverse string) (*Marker, bool) {
pair := PrimerPair{strings.ToLower(forward),
strings.ToLower(reverse)}
forward = strings.ToLower(forward)
reverse = strings.ToLower(reverse)
pair := PrimerPair{forward, reverse}
marker, ok := (library.Markers)[pair]
if ok {