Skip to content

Commit d931cd1

Browse files
authored
Merge pull request #150 from ilabcode/dev
Version 0.5.2
2 parents e46e07b + 9fc5ced commit d931cd1

18 files changed

+125
-28
lines changed

.github/workflows/CI_full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
version: ${{ matrix.version }}
3939
arch: ${{ matrix.arch }}
40-
- uses: julia-actions/cache@v1
40+
- uses: julia-actions/cache@v2
4141
- uses: julia-actions/julia-buildpkg@v1
4242
- uses: julia-actions/julia-runtest@v1
4343
- uses: julia-actions/julia-processcoverage@v1

.github/workflows/CI_small.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
version: ${{ matrix.version }}
3535
arch: ${{ matrix.arch }}
36-
- uses: julia-actions/cache@v1
36+
- uses: julia-actions/cache@v2
3737
- uses: julia-actions/julia-buildpkg@v1
3838
- uses: julia-actions/julia-runtest@v1
3939
- uses: julia-actions/julia-processcoverage@v1

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors = [ "Peter Thestrup Waade [email protected]",
44
"Anna Hedvig Møller [email protected]",
55
"Jacopo Comoglio [email protected]",
66
"Christoph Mathys [email protected]"]
7-
version = "0.5.1"
7+
version = "0.5.2"
88

99
[deps]
1010
ActionModels = "320cf53b-cc3b-4b34-9a10-0ecb113566a3"
@@ -15,4 +15,4 @@ RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
1515
ActionModels = "0.5"
1616
Distributions = "0.25"
1717
RecipesBase = "1"
18-
julia = "1.9"
18+
julia = "1.10"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![Build Status](https://github.com/ilabcode/HierarchicalGaussianFiltering.jl/actions/workflows/CI_full.yml/badge.svg?branch=main)](https://github.com/ilabcode/HierarchicalGaussianFiltering.jl/actions/workflows/CI_full.yml?query=branch%3Amain)
44
[![Coverage](https://codecov.io/gh/ilabcode/HierarchicalGaussianFiltering.jl/branch/main/graph/badge.svg?token=NVFiiPydFA)](https://codecov.io/gh/ilabcode/HierarchicalGaussianFiltering.jl)
55
[![License: GNU](https://img.shields.io/badge/License-GNU-yellow)](<https://www.gnu.org/licenses/>)
6+
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
67

78

89
# Welcome to The Hierarchical Gaussian Filtering Package!

docs/Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
[deps]
22
ActionModels = "320cf53b-cc3b-4b34-9a10-0ecb113566a3"
3+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
34
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
45
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
56
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
67
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
78
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
9+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
810
Glob = "c27321d9-0574-5035-807b-f59d2c89b15c"
911
HierarchicalGaussianFiltering = "63d42c3e-681c-42be-892f-a47f35336a79"
12+
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
1013
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
1114
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
1215
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

src/ActionModels_variations/utils/get_history.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gets the history of a state from a specific node in an HGF. A vector of states c
77
88
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.
99
"""
10-
function ActionModels.get_history() end
10+
# function ActionModels.get_history() end
1111

1212
### For getting histories of specific states ###
1313
function ActionModels.get_history(hgf::HGF, target_state::Tuple{String,String})

src/ActionModels_variations/utils/get_parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gets a single parameter value from a specific node in an HGF. A vector of parame
77
88
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.
99
"""
10-
function ActionModels.get_parameters() end
10+
# function ActionModels.get_parameters() end
1111

1212
### For getting a specific parameter from a specific node ###
1313
#For parameters other than coupling strengths

src/ActionModels_variations/utils/get_states.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gets a single state value from a specific node in an HGF. A vector of states can
77
88
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.
99
"""
10-
function ActionModels.get_states() end
10+
# function ActionModels.get_states() end
1111

1212

1313
### For getting a specific state from a specific node ###
@@ -36,7 +36,9 @@ function ActionModels.get_states(node::AbstractNode, state_name::String)
3636
#If the state does not exist in the node
3737
if !(Symbol(state_name) in fieldnames(typeof(node.states)))
3838
#throw an error
39-
throw(ArgumentError("The node $node_name does not have the state $state_name"))
39+
throw(
40+
ArgumentError("The node $(node.node_name) does not have the state $state_name"),
41+
)
4042
end
4143

4244
#If a prediction state has been specified

src/ActionModels_variations/utils/give_inputs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ give_inputs!(hgf::HGF, inputs)
33
44
Give inputs to an agent. Input can be a single value, a vector of values, or an array of values.
55
"""
6-
function ActionModels.give_inputs!() end
6+
# function ActionModels.give_inputs!() end
77

88

99
### Giving a single input ###

src/ActionModels_variations/utils/set_parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Setting a single parameter value for an HGF.
77
88
Set mutliple parameters values for an HGF. Takes a dictionary of parameter names and values.
99
"""
10-
function ActionModels.set_parameters!() end
10+
# function ActionModels.set_parameters!() end
1111

1212
### For setting a single parameter ###
1313

0 commit comments

Comments
 (0)