Skip to content

Commit

Permalink
added Aqua
Browse files Browse the repository at this point in the history
  • Loading branch information
PTWaade committed May 4, 2024
1 parent 3a15a32 commit 169018a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
ActionModels = "320cf53b-cc3b-4b34-9a10-0ecb113566a3"
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
Expand Down
2 changes: 1 addition & 1 deletion src/ActionModels_variations/utils/get_history.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gets the history of a state from a specific node in an HGF. A vector of states c
Gets the history of all states for a specific node in an HGF. If only a node object is passed, it will return the history of all states in that node. If only an HGF object is passed, it will return the history of all states in all nodes in the HGF.
"""
function ActionModels.get_history() end
# function ActionModels.get_history() end

### For getting histories of specific states ###
function ActionModels.get_history(hgf::HGF, target_state::Tuple{String,String})
Expand Down
2 changes: 1 addition & 1 deletion src/ActionModels_variations/utils/get_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gets a single parameter value from a specific node in an HGF. A vector of parame
Gets all parameter values for a specific node in an HGF. If only a node object is passed, returns all parameters in that node. If only an HGF object is passed, returns all parameters of all nodes in the HGF.
"""
function ActionModels.get_parameters() end
# function ActionModels.get_parameters() end

### For getting a specific parameter from a specific node ###
#For parameters other than coupling strengths
Expand Down
2 changes: 1 addition & 1 deletion src/ActionModels_variations/utils/get_states.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gets a single state value from a specific node in an HGF. A vector of states can
Gets all parameter values for a specific node in an HGF. If only a node object is passed, returns all states in that node. If only an HGF object is passed, returns all states of all nodes in the HGF.
"""
function ActionModels.get_states() end
# function ActionModels.get_states() end


### For getting a specific state from a specific node ###
Expand Down
2 changes: 1 addition & 1 deletion src/ActionModels_variations/utils/give_inputs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ give_inputs!(hgf::HGF, inputs)
Give inputs to an agent. Input can be a single value, a vector of values, or an array of values.
"""
function ActionModels.give_inputs!() end
# function ActionModels.give_inputs!() end


### Giving a single input ###
Expand Down
2 changes: 1 addition & 1 deletion src/ActionModels_variations/utils/set_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Setting a single parameter value for an HGF.
Set mutliple parameters values for an HGF. Takes a dictionary of parameter names and values.
"""
function ActionModels.set_parameters!() end
# function ActionModels.set_parameters!() end

### For setting a single parameter ###

Expand Down
2 changes: 1 addition & 1 deletion src/HierarchicalGaussianFiltering.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module HierarchicalGaussianFiltering
using ActionModels, Distributions, RecipesBase

#Export functions
export init_node, init_hgf, premade_hgf, check_hgf, check_node, update_hgf!
export init_node, init_hgf, premade_hgf, check_hgf, update_hgf!
export get_prediction, get_surprise
export premade_agent,
init_agent, plot_predictive_simulation, plot_trajectory, plot_trajectory!
Expand Down
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
GR = "28b8d3ca-fb5f-59d9-8090-bfdbd6d07a71"
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
Expand Down
4 changes: 4 additions & 0 deletions test/testsuite/Aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using HierarchicalGaussianFiltering
using Aqua
Aqua.test_all(HierarchicalGaussianFiltering,
ambiguities = false)

0 comments on commit 169018a

Please sign in to comment.