From 075458b84a50b745ce1dc572a1d35897e1b90d6b Mon Sep 17 00:00:00 2001 From: HLWeil Date: Mon, 22 Apr 2024 19:41:52 +0200 Subject: [PATCH] update dependencies of ARCtrl.NET --- src/ARCtrl.NET/ARCtrl.NET.fsproj | 6 +++--- src/ARCtrl.NET/Assay.fs | 8 ++++---- src/ARCtrl.NET/Contract.fs | 4 ++-- tests/ARCtrl.NET.Tests/Arc.fs | 1 - tests/ARCtrl.NET.Tests/Contract.fs | 2 +- 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/ARCtrl.NET/ARCtrl.NET.fsproj b/src/ARCtrl.NET/ARCtrl.NET.fsproj index 5c260e8..9065e03 100644 --- a/src/ARCtrl.NET/ARCtrl.NET.fsproj +++ b/src/ARCtrl.NET/ARCtrl.NET.fsproj @@ -25,9 +25,9 @@ - - - + + + diff --git a/src/ARCtrl.NET/Assay.fs b/src/ARCtrl.NET/Assay.fs index d512ec7..01c57d9 100644 --- a/src/ARCtrl.NET/Assay.fs +++ b/src/ARCtrl.NET/Assay.fs @@ -1,10 +1,10 @@ namespace ARCtrl.NET open ARCtrl -open ARCtrl.ISA -open ARCtrl.ISA.Spreadsheet +open ARCtrl +open ARCtrl.Spreadsheet open FsSpreadsheet -open FsSpreadsheet.ExcelIO +open FsSpreadsheet.Net open System.IO module Assay = @@ -27,7 +27,7 @@ module Assay = let readByIdentifier (arc : string) (identifier : string) = - ISA.Identifier.Assay.fileNameFromIdentifier identifier + Helper.Identifier.Assay.fileNameFromIdentifier identifier |> readByFileName arc //let tryReadFromFolder (folderPath : string) = diff --git a/src/ARCtrl.NET/Contract.fs b/src/ARCtrl.NET/Contract.fs index 5bfbe75..cf7afe0 100644 --- a/src/ARCtrl.NET/Contract.fs +++ b/src/ARCtrl.NET/Contract.fs @@ -2,7 +2,7 @@ open ARCtrl.Contract open FsSpreadsheet -open FsSpreadsheet.ExcelIO +open FsSpreadsheet.Net let fulfillReadContract basePath (c : Contract) = let log = Logging.createLogger("ReadContractHandler") @@ -27,7 +27,7 @@ let fulfillWriteContract basePath (c : Contract) = | Some (DTO.Spreadsheet wb) -> let path = System.IO.Path.Combine(basePath, c.Path) Path.ensureDirectory path - FsWorkbook.toFile path (wb :?> FsWorkbook) + FsWorkbook.toXlsxFile path (wb :?> FsWorkbook) | Some (DTO.Text t) -> let path = System.IO.Path.Combine(basePath, c.Path) Path.ensureDirectory path diff --git a/tests/ARCtrl.NET.Tests/Arc.fs b/tests/ARCtrl.NET.Tests/Arc.fs index 52d680f..e3b980b 100644 --- a/tests/ARCtrl.NET.Tests/Arc.fs +++ b/tests/ARCtrl.NET.Tests/Arc.fs @@ -4,7 +4,6 @@ open Expecto open ARCtrl.NET open System.IO open ARCtrl -open ARCtrl.ISA let testInputFolder = System.IO.Path.Combine(__SOURCE_DIRECTORY__,@"TestObjects") let testOutputFolder = System.IO.Path.Combine(__SOURCE_DIRECTORY__,@"TestResults") diff --git a/tests/ARCtrl.NET.Tests/Contract.fs b/tests/ARCtrl.NET.Tests/Contract.fs index aa2ee9b..b1b6c9a 100644 --- a/tests/ARCtrl.NET.Tests/Contract.fs +++ b/tests/ARCtrl.NET.Tests/Contract.fs @@ -5,7 +5,7 @@ open ARCtrl.Contract open Expecto open System.IO open FsSpreadsheet -open FsSpreadsheet.ExcelIO +open FsSpreadsheet.Net let testInputFolder = System.IO.Path.Combine(__SOURCE_DIRECTORY__,@"TestObjects/Contracts") let testOutputFolder = System.IO.Path.Combine(__SOURCE_DIRECTORY__,@"TestResults/Contracts")