Skip to content

Commit

Permalink
fix assay xlsx parser for technologyplatfrom
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Aug 14, 2023
1 parent c33f2dd commit 7a158ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ISA/ISA.Spreadsheet/InvestigationFile/Assays.fs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module Assays =
(fileName)
(Option.fromValueWithDefault OntologyAnnotation.empty measurementType)
(Option.fromValueWithDefault OntologyAnnotation.empty technologyType)
(Option.fromValueWithDefault "" technologyPlatform)
(Option.fromValueWithDefault "" technologyPlatform |> Option.map ArcAssay.decomposeTechnologyPlatform)
(ResizeArray())
[||]
(comments)
Expand Down Expand Up @@ -77,7 +77,7 @@ module Assays =
do matrix.Matrix.Add ((technologyTypeLabel,i), tt.TermName)
do matrix.Matrix.Add ((technologyTypeTermAccessionNumberLabel,i), tt.TermAccessionNumber)
do matrix.Matrix.Add ((technologyTypeTermSourceREFLabel,i), tt.TermSourceREF)
do matrix.Matrix.Add ((technologyPlatformLabel,i), (Option.defaultValue "" a.TechnologyPlatform))
do matrix.Matrix.Add ((technologyPlatformLabel,i), (Option.defaultValue "" (a.TechnologyPlatform |> Option.map ArcAssay.composeTechnologyPlatform)))
do matrix.Matrix.Add ((fileNameLabel,i), processedFileName)

if Array.isEmpty a.Comments |> not then
Expand Down

0 comments on commit 7a158ff

Please sign in to comment.