Replace MakeBioSequence call by NewBioSequence call,

Implements a new file format guesser
Adds some more API doc


Former-commit-id: 9837bf1c28beca6ddb599b367f93548950ba83c1
This commit is contained in:
2023-08-30 19:59:46 +02:00
parent c2533667b2
commit 3f8c0d6a2f
7 changed files with 582 additions and 116 deletions

View File

@ -271,10 +271,14 @@ func (m *NotABoolean) Error() string {
return m.message
}
// > It copies the contents of the `src` map into the `dest` map, but if the value is a map, slice, or
// array, it makes a deep copy of it
// MustFillMap fills the destination map with the values from the source map.
//
// The function takes in two parameters:
// - dest: a map[string]interface{} representing the destination map.
// - src: a map[string]interface{} representing the source map.
//
// There is no return value.
func MustFillMap(dest, src map[string]interface{}) {
for k, v := range src {
if IsAMap(v) || IsASlice(v) || IsAnArray(v) {
v = deepcopy.MustAnything(v)