Skip to content

Commit bce9ee1

Browse files
2 parents af5856b + c96c2c4 commit bce9ee1

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.JuliaFormatter.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
using Pkg # Load package manager
2+
Pkg.add("JuliaFormatter") # Install JuliaFormatter
3+
4+
using JuliaFormatter # Load JuliaFormatter
5+
format("."; verbose=true) # Format all files

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ docs/site/
3030
Manifest.toml
3131

3232
# Formatting files
33-
formatter.jl
33+
##.JuliaFormatter.jl

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In the package documentation we have prepared a [tutorial](https://inphyt.github
3737

3838
Here we highlight the major future developments we have currently identified:
3939

40-
- [ ] Better integration with [Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl) (e.g. move the `AbstractVertex` to Graphs.jl, standardize graphs constructors, etc.);
40+
- [ ] Better integration with [Graphs.jl](https://github.com/JuliaGraphs/Graphs.jl). We've recently opened an [issue](https://github.com/JuliaGraphs/Graphs.jl/issues/165) on Graphs.jl illustrating our proposals;
4141
- [ ] Better integration with [MetaGraphs.jl](https://github.com/JuliaGraphs/MetaGraphs.jl) and [SimpleValueGraphs.jl](https://github.com/simonschoelly/SimpleValueGraphs.jl). Although it is possible to specify a `MetaGraph` and `SimpleValueGraph` as layer and/or interlayer, they are not yet fully supported (i.e. API may be a little unfit for them). An example using MetaGraphs, SimpleValueGraphs can be found at our announcement post [here]();
4242
- [ ] Optimise the adjacency tensor;
4343
- [ ] More intuitive constructor for `Interlayer`;

src/abstractmultilayergraph.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function _specify_interlayer!(
134134
all(in.([new_interlayer.layer_1, new_interlayer.layer_2], Ref(mg.layers_names))) ||
135135
throw(
136136
ErrorException(
137-
"The new interlayer conencts two layers that are not (one or both) part of the multilayer graph. Make sure you spelled the `layer_1` and `layer_2` arguments of the `Interlayer` correctly.",
137+
"The new interlayer connects two layers that are not (one or both) part of the multilayer graph. Make sure you spelled the `layer_1` and `layer_2` arguments of the `Interlayer` correctly.",
138138
),
139139
)
140140

@@ -694,7 +694,7 @@ function Graphs.modularity(
694694
n_layers = length(mg.layers)
695695
size(c) == (n_nodes, n_layers) || throw(
696696
ErrorException(
697-
"The size of the community matrx does not match (nn(mg),length(mg.layers)), found $(size(c)) and $((nn(mg),length(mg.layers)))",
697+
"The size of the community matrix does not match (nn(mg),length(mg.layers)), found $(size(c)) and $((nn(mg),length(mg.layers)))",
698698
),
699699
)
700700

src/traits.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Define traits from SimpleTraits.jl
2-
32
"""
43
IsWeighted{X}
54

0 commit comments

Comments
 (0)