Skip to content

Commit 73daa4d

Browse files
Merge pull request #23 from tiemvanderdeure/bradypus_path
fix the path to bradypus
2 parents e0e6068 + fda089c commit 73daa4d

File tree

2 files changed

+1
-1118
lines changed

2 files changed

+1
-1118
lines changed

src/data.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using DelimitedFiles
22
function bradypus()
3-
data, headers = DelimitedFiles.readdlm("data/bradypus.tsv", '\t', Int; header = true)
3+
data, headers = DelimitedFiles.readdlm(joinpath(@__DIR__, "..", "data", "bradypus.tsv"), '\t', Int; header = true)
44
env = NamedTuple{Tuple(Symbol.(headers[2:end]))}(collect(eachcol(data)[2:end]))
55
env = merge(env, (; ecoreg = CategoricalArrays.categorical(env.ecoreg)))
66
p_a = Bool.(data[:, 1])

0 commit comments

Comments
 (0)