Skip to content

Commit

Permalink
removing Requires
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Ortner committed Jun 19, 2023
1 parent 65f7a34 commit b447ca5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
6 changes: 2 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Optim = "429524aa-4258-5aef-a3af-852621145aeb"
ParallelDataTransfer = "2dcacdae-9679-587a-88bb-8b444fb7085b"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SharedArrays = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"

Expand All @@ -23,12 +22,11 @@ LowRankApprox = "0.5.3"
Optim = "1.7"
ParallelDataTransfer = "0.5.0"
ProgressMeter = "1.7"
PyCall = "1.95"
Requires = "1.3"
PyCall = "1.92"
StaticArrays = "1.5"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Test", ]
14 changes: 10 additions & 4 deletions src/ACEfit.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
module ACEfit

using Requires

function __init__()
@require PyCall="438e738f-606a-5dbb-bf0a-cddfbfd45ab0" include("solvers_pycall.jl")
end
# CO: removed this since couldn't remove PyCall from the dependencies
# and no time to figure this out right now, sorry.
#
# using Requires
# function __init__()
# @require PyCall="438e738f-606a-5dbb-bf0a-cddfbfd45ab0" include("solvers_pycall.jl")
# end


include("solvers_pycall.jl")

include("bayesianlinear.jl")
include("data.jl")
Expand Down
1 change: 0 additions & 1 deletion src/solvers.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using LinearAlgebra: qr, I, norm
using LowRankApprox: pqrfact
using IterativeSolvers
using PyCall
using .BayesianLinear

@doc raw"""
Expand Down
2 changes: 2 additions & 0 deletions src/solvers_pycall.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using PyCall

@doc raw"""
SKLEARN_BRR
"""
Expand Down

0 comments on commit b447ca5

Please sign in to comment.