From c4e5ddedcc5365fcb5027ca82848c3a1597a0360 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 23 Jan 2025 23:03:49 +0100 Subject: [PATCH] add more rogue scholar prefixes --- cmd/root.go | 2 +- doiutils/doiutils.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index e9b76d8..ea5ec42 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -13,7 +13,7 @@ import ( // rootCmd represents the base command when called without any subcommands var rootCmd = &cobra.Command{ Use: "commonmeta", - Version: "v0.6.35", + Version: "v0.6.36", Short: "Convert scholarly metadata from one format to another", Long: `Convert scholarly metadata between formats. Currently supported input formats are Crossref and DataCite DOIs, currently diff --git a/doiutils/doiutils.go b/doiutils/doiutils.go index 59e3bc4..7fc3f89 100644 --- a/doiutils/doiutils.go +++ b/doiutils/doiutils.go @@ -137,9 +137,11 @@ func GetDOIRA(doi string) (string, bool) { var knownCrossrefPrefixes = []string{ "10.53731", "10.54900", + "10.59347", "10.59348", "10.59349", "10.59350", + "10.59351", } var knownDatacitePrefixes = []string{ "10.34732",