-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#29 add orcid terms, add a list of obsolete terms as convenience func…
…tions, add and adapt tests
- Loading branch information
Showing
11 changed files
with
366 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 12 additions & 13 deletions
25
tests/ARCTokenization.Tests/IntegrationTests/AssayMetadata.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
module IntegrationTests.AssayMetadata | ||
namespace IntegrationTests | ||
|
||
open ControlledVocabulary | ||
open FsSpreadsheet | ||
open FsSpreadsheet.ExcelIO | ||
open ARCTokenization | ||
open Xunit | ||
module AssayMetadata = | ||
|
||
open TestUtils | ||
open ControlledVocabulary | ||
open FsSpreadsheet | ||
open FsSpreadsheet.ExcelIO | ||
open ARCTokenization | ||
open Xunit | ||
|
||
open TestUtils | ||
|
||
|
||
let allExpectedMetadataTerms = | ||
|
||
Terms.AssayMetadata.cvTerms | ||
|> List.skip 1 //(ignore root term) | ||
|> List.map (fun p -> CvParam(p, ParamValue.Value "", [])) | ||
let allExpectedMetadataTermsEmpty = | ||
Terms.AssayMetadata.cvTerms | ||
|> List.skip 1 //(ignore root term) | ||
|> List.map (fun p -> CvParam(p, ParamValue.CvValue (CvTerm.create(accession = "AGMO:00000001", name = "Metadata Section Key", ref = "AGMO")), [])) |
Oops, something went wrong.