Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
PharmCat committed Jul 11, 2021
1 parent 8cb4d42 commit 32614a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ version = "0.1.2"
[deps]
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
PrettyTables = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d"

[compat]
julia = "1"
StatsModels = "0.6"
Tables = "1"
PrettyTables = "1"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
4 changes: 2 additions & 2 deletions src/MetidaBase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
__precompile__(true)
module MetidaBase

using Tables, StatsModels
using Tables, StatsModels, PrettyTables

import Tables: istable, columnaccess, columns, getcolumn, columnnames

import StatsModels: StatisticalModel

import Base: getindex, length, ht_keyindex
import Base: getindex, length, ht_keyindex, show

include("abstracttype.jl")
include("types.jl")
Expand Down
4 changes: 4 additions & 0 deletions src/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Tables.getcolumn(t::MetidaTable, nm::Symbol) = t.table[nm]

Tables.columnnames(t::MetidaTable) = collect(keys(t.table))

function Base.show(io::IO, table::MetidaTable)
pretty_table(io, table)
end

# All

struct DataSet{T <: AbstractData}
Expand Down

2 comments on commit 32614a2

@PharmCat
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/40691

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.2 -m "<description of version>" 32614a2e2072cbc9427be822a143f444aab15b56
git push origin v0.1.2

Please sign in to comment.