Skip to content

Commit

Permalink
Remove save methoth, fixes #105
Browse files Browse the repository at this point in the history
  • Loading branch information
David van Leeuwen committed Mar 4, 2024
1 parent 37a886f commit 2d925d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 1 addition & 5 deletions src/data.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## data.jl Julia code to handle matrix-type data on disc

using Statistics
using Distributed

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2d925d3

Please sign in to comment.