Skip to content

Commit

Permalink
Merge pull request #49 from GregFa/main
Browse files Browse the repository at this point in the history
fixed error for undefined file
  • Loading branch information
GregFa authored Aug 2, 2024
2 parents 3459a0a + 4742d11 commit 3c83aaa
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions test/datastruc_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Generate Data for testing #
#############################


gmap = Gmap(["chr1", "chr2"], [["m1", "m2"], ["m3"]], [[1.0, 2.0], [3.0]])
cross_info = CrossInfo(["sample1", "sample2"], [1, 0])
cross_type = CrossType("risib")
Expand Down Expand Up @@ -70,31 +71,6 @@ end
end



























# Checks whether the output of `get_geneticstudydata` function is of type `GeneticStudyData`
function BigRiverQTLData_struct_test(filename::String, testname::String)
@testset "BigRiverQTLData_struct_test" begin
Expand All @@ -114,6 +90,8 @@ end
# Test: BigRiverQTLData #
#########################

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


BigRiverQTLData_struct_test(file, "get_bigriverqtldata")
Expand Down

0 comments on commit 3c83aaa

Please sign in to comment.