From c9b2bd6c29771daf0deca4a284d363f70b807962 Mon Sep 17 00:00:00 2001 From: Oren Ben-Kiki Date: Sun, 7 Apr 2024 18:09:50 +0300 Subject: [PATCH] Do not dump full arrays into debug messages. --- Manifest.toml | 6 +++--- docs/v0.1.0/.documenter-siteinfo.json | 2 +- src/writers.jl | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Manifest.toml b/Manifest.toml index 0495562..4347078 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -2,7 +2,7 @@ julia_version = "1.10.2" manifest_format = "2.0" -project_hash = "8e03bb75bf6f51f8955793f4a225b42fdf673d0d" +project_hash = "d2b6258cc4c7c5fd14b9a90a37668c87421b80b3" [[deps.ArgTools]] uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f" @@ -296,9 +296,9 @@ version = "10.1.4+2" [[deps.Missings]] deps = ["DataAPI"] -git-tree-sha1 = "f66bdc5de519e8f8ae43bdc598782d35a25b1272" +git-tree-sha1 = "ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d" uuid = "e1d29d7a-bbdc-5cf2-9ac0-f12de2c33e28" -version = "1.1.0" +version = "1.2.0" [[deps.Mmap]] uuid = "a63ad114-7e13-5084-954f-fe012c677804" diff --git a/docs/v0.1.0/.documenter-siteinfo.json b/docs/v0.1.0/.documenter-siteinfo.json index c9a0cc3..4b2324e 100644 --- a/docs/v0.1.0/.documenter-siteinfo.json +++ b/docs/v0.1.0/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-07T10:13:52","documenter_version":"1.3.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.2","generation_timestamp":"2024-04-07T18:07:22","documenter_version":"1.3.0"}} \ No newline at end of file diff --git a/src/writers.jl b/src/writers.jl index c6a31bd..42e1953 100644 --- a/src/writers.jl +++ b/src/writers.jl @@ -351,7 +351,7 @@ function filled_empty_dense_vector!( ::AbstractString, filled_vector::AbstractVector{T}, )::Nothing where {T <: StorageNumber} - @debug "empty_dense_vector! filled vector: $(filled_vector) }" + @debug "empty_dense_vector! filled vector: $(depict(filled_vector)) }" return nothing end @@ -453,7 +453,7 @@ function filled_empty_sparse_vector!( )::Nothing where {T <: StorageNumber, I <: StorageInteger} filled = SparseVector(axis_length(daf, axis), nzind, nzval) Formats.format_filled_sparse_vector!(daf, axis, name, extra, filled) - @debug "empty_sparse_vector! filled vector: $(filled) }" + @debug "empty_sparse_vector! filled vector: $(depict(filled)) }" return nothing end @@ -653,7 +653,7 @@ function filled_empty_dense_matrix!( ::AbstractString, filled_matrix::AbstractMatrix{T}, )::Nothing where {T <: StorageNumber} - @debug "empty_dense_matrix! filled matrix: $(filled_matrix) }" + @debug "empty_dense_matrix! filled matrix: $(depict(filled_matrix)) }" return nothing end @@ -762,7 +762,7 @@ function filled_empty_sparse_matrix!( )::Nothing where {T <: StorageNumber, I <: StorageInteger} filled = SparseMatrixCSC(axis_length(daf, rows_axis), axis_length(daf, columns_axis), colptr, rowval, nzval) Formats.format_filled_sparse_matrix!(daf, rows_axis, columns_axis, name, extra, filled) - @debug "empty_sparse_matrix! filled matrix: $(filled) }" + @debug "empty_sparse_matrix! filled matrix: $(depict(filled)) }" return nothing end