Skip to content

Commit

Permalink
Change surveyio(io) to io
Browse files Browse the repository at this point in the history
  • Loading branch information
iuliadmtru committed Jan 11, 2023
1 parent 50d0e5a commit 16b0444
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ end

"Print information about a survey design."
Base.show(io::IO, ::MIME"text/plain", design::AbstractSurveyDesign) =
surveyshow(surveyio(io), design)
surveyshow(io, design)

Base.show(io::IO, ::MIME"text/plain", design::SurveyDesign) =
surveyshow(surveyio(io), design)
surveyshow(io, design)

function Base.show(io::IO, ::MIME"text/plain", design::ReplicateDesign)
# new_io = IOContext(io, :compact=>true, :limit=>true, :displaysize=>(50, 50))
surveyshow(surveyio(io), design)
printinfo(surveyio(io), "\nreplicates", design.replicates; newline=false)
surveyshow(io, design)
printinfo(io, "\nreplicates", design.replicates; newline=false)
end

function surveyshow(io::IO, design::AbstractSurveyDesign)
Expand Down

0 comments on commit 16b0444

Please sign in to comment.