Skip to content

Commit

Permalink
new ro-crate export and context files
Browse files Browse the repository at this point in the history
  • Loading branch information
floWetzels authored and HLWeil committed Mar 21, 2024
1 parent 280d3b8 commit d1cbba9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ISA/ISA.Json/Investigation.fs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ module Investigation =
GEncode.tryInclude "description" Encode.string (oa.Description)
GEncode.tryInclude "submissionDate" Encode.string (oa.SubmissionDate)
GEncode.tryInclude "publicReleaseDate" Encode.string (oa.PublicReleaseDate)
GEncode.tryIncludeList "ontologySourceReferences" (OntologySourceReference.encoder options) (oa.OntologySourceReferences)
if not options.IsJsonLD then
GEncode.tryIncludeList "ontologySourceReferences" (OntologySourceReference.encoder options) (oa.OntologySourceReferences)
GEncode.tryIncludeList "publications" (Publication.encoder options) (oa.Publications)
GEncode.tryIncludeList "people" (Person.encoder options) (oa.Contacts)
GEncode.tryIncludeList "studies" (Study.encoder options) (oa.Studies)
Expand Down

0 comments on commit d1cbba9

Please sign in to comment.