Skip to content

Commit 6eb7b51

Browse files
committed
fixed error for undefined file
1 parent 8db9aa3 commit 6eb7b51

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

test/datastruc_test.jl

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Generate Data for testing #
33
#############################
44

5+
56
gmap = Gmap(["chr1", "chr2"], [["m1", "m2"], ["m3"]], [[1.0, 2.0], [3.0]])
67
cross_info = CrossInfo(["sample1", "sample2"], [1, 0])
78
cross_type = CrossType("risib")
@@ -70,31 +71,6 @@ end
7071
end
7172

7273

73-
74-
75-
76-
77-
78-
79-
80-
81-
82-
83-
84-
85-
86-
87-
88-
89-
90-
91-
92-
93-
94-
95-
96-
97-
9874
# Checks whether the output of `get_geneticstudydata` function is of type `GeneticStudyData`
9975
function BigRiverQTLData_struct_test(filename::String, testname::String)
10076
@testset "BigRiverQTLData_struct_test" begin
@@ -114,6 +90,8 @@ end
11490
# Test: BigRiverQTLData #
11591
#########################
11692

93+
data_dir = joinpath(@__DIR__, "data/BXD/");
94+
file = joinpath(data_dir, "bxd.json");
11795

11896

11997
BigRiverQTLData_struct_test(file, "get_bigriverqtldata")

0 commit comments

Comments
 (0)