From 2d925d396a1c3eed6beaa96e6736c6f0a0374851 Mon Sep 17 00:00:00 2001 From: David van Leeuwen Date: Mon, 4 Mar 2024 14:33:14 +0100 Subject: [PATCH] Remove save methoth, fixes #105 --- Project.toml | 2 +- src/data.jl | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Project.toml b/Project.toml index a876dcd..0a58094 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "GaussianMixtures" uuid = "cc18c42c-b769-54ff-9e2a-b28141a64aae" -version = "0.3.8" +version = "0.3.9" [deps] Arpack = "7d9fca2a-8960-54d3-9f78-7d1dccf2cb97" diff --git a/src/data.jl b/src/data.jl index c677425..b26aac3 100644 --- a/src/data.jl +++ b/src/data.jl @@ -1,4 +1,5 @@ ## data.jl Julia code to handle matrix-type data on disc + using Statistics using Distributed @@ -28,11 +29,6 @@ function _size(file::AbstractString) end end -## courtesy compatible save for a matrix -function FileIO.save(file::AbstractString, x::Matrix) - save(file,"data", x) -end - ## Data([strings], type; load=loadfunction, size=sizefunction) function Data(files::Vector{S}, datatype::DataType; kwargs...) where {S<:AbstractString} all([isa((k,v), (Symbol,Function)) for (k,v) in kwargs]) || error("Wrong type of argument", args)