Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoth.Json migration #316

Merged
merged 10 commits into from
Feb 29, 2024
Prev Previous commit
Next Next commit
small adjustments in isa.json
  • Loading branch information
HLWeil committed Feb 29, 2024
commit 3d00621ff1feb76f1a4628f6cdad7a3a7cdb49fd
2 changes: 0 additions & 2 deletions src/ISA/ISA.Json/Ontology.fs
Original file line number Diff line number Diff line change
@@ -26,8 +26,6 @@ module AnnotationValue =
| Ok s -> Ok <| s
| Error e -> Error e
}

// is there a option to decode force to string?


module OntologySourceReference =
2 changes: 1 addition & 1 deletion src/ISA/ISA.Json/Publication.fs
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@ module Publication =
| Some t -> "#Pub_" + t.Replace(" ","_")
| None -> "#EmptyPublication"

let rec encoder (options : ConverterOptions) (oa : Publication) =
let encoder (options : ConverterOptions) (oa : Publication) =
[
if options.SetID then
"@id", Encode.string (oa |> genID)