Skip to content
Snippets Groups Projects
Unverified Commit f9b58937 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Do not print very long variables

parent 9cafba41
No related branches found
No related tags found
1 merge request!3Add InstantPulse and InstantGradient pulseq extension support
......@@ -56,7 +56,11 @@ function Base.show(io::IO, block::AbstractBlock)
if isnothing(numeric_value)
continue
end
print(io, "$(fn_name)=$(numeric_value), ")
as_string = string(numeric_value)
if length(as_string) > 50
continue
end
print(io, "$(fn_name)=$(as_string), ")
catch e
continue
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment