mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-03-25 13:30:52 +00:00
This commit adds support for saving and loading KmerSet and KmerSetGroup structures using TOML, YAML, and JSON formats for metadata. It includes: - Added github.com/pelletier/go-toml/v2 dependency - Implemented Save and Load methods for KmerSet and KmerSetGroup - Added metadata persistence with support for multiple formats (TOML, YAML, JSON) - Added helper functions for format detection and metadata handling - Updated version commit hash
21 lines
491 B
Go
21 lines
491 B
Go
package obioptions
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// TODO: The version number is extracted from git. This induces that the version
|
|
// corresponds to the last commit, and not the one when the file will be
|
|
// commited
|
|
|
|
var _Commit = "aa468ec"
|
|
var _Version = "Release 4.4.0"
|
|
|
|
// Version returns the version of the obitools package.
|
|
//
|
|
// No parameters.
|
|
// Returns a string representing the version of the obitools package.
|
|
func VersionString() string {
|
|
return fmt.Sprintf("%s (%s)", _Version, _Commit)
|
|
}
|