Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Dec 6, 2023
1 parent 8d794fc commit b8c8d86
Show file tree
Hide file tree
Showing 20 changed files with 365 additions and 337 deletions.
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
QUBOTools = "60eb5b62-0a39-4ddc-84c5-97d2adff9319"
SQLite = "0aa819cd-b072-5ff4-a722-6bc24af294d9"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
Tar = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

Expand Down
18 changes: 10 additions & 8 deletions src/QUBOInstances.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,30 @@ using LaTeXStrings
using SQLite
using DataFrames
using Tar
using TOML
using Pkg
using UUIDs
using QUBOTools
using ProgressMeter

const __PROJECT__ = abspath(@__DIR__, "..")
const __VERSION__ = VersionNumber(TOML.parsefile(joinpath(__PROJECT__, "Project.toml"))["version"])

export load_instance, list_collections, list_instances, select

function data_path()::AbstractString
# return abspath(artifact"qubolib")
return @__DIR__
end

# Public API
include("public/interface.jl")
include("public/library.jl")
include("public/load.jl")
include("public/list.jl")
include("public/archive.jl")
include("public/database.jl")

# Data curation methods
include("curation/index.jl")
include("curation/curate.jl")
include("curation/deploy.jl")
# include("curation/metadata.jl")
# include("curation/hash.jl")
# include("curation/tag.jl")
# include("curation/document.jl")
# include("curation/build.jl")

end # module QUBOInstances
6 changes: 0 additions & 6 deletions src/curation/build.jl

This file was deleted.

227 changes: 0 additions & 227 deletions src/curation/curate.jl

This file was deleted.

29 changes: 0 additions & 29 deletions src/curation/deploy.jl

This file was deleted.

11 changes: 0 additions & 11 deletions src/curation/hash.jl

This file was deleted.

Loading

0 comments on commit b8c8d86

Please sign in to comment.