Skip to content

Commit b73202c

Browse files
committed
Rename the package into MultiScaleTreeGraph
1 parent 599eb01 commit b73202c

36 files changed

+104
-104
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ jobs:
5555
- run: |
5656
julia --project=docs -e '
5757
using Documenter: DocMeta, doctest
58-
using MTG
59-
DocMeta.setdocmeta!(MTG, :DocTestSetup, :(using MTG); recursive=true)
60-
doctest(MTG)'
58+
using MultiScaleTreeGraph
59+
DocMeta.setdocmeta!(MultiScaleTreeGraph, :DocTestSetup, :(using MultiScaleTreeGraph); recursive=true)
60+
doctest(MultiScaleTreeGraph)'
6161
- run: julia --project=docs docs/make.jl
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CITATION.bib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
@misc{MTG.jl,
1+
@misc{MultiScaleTreeGraph.jl,
22
author = {remi.vezy <VEZY@users.noreply.github.com> and contributors},
3-
title = {MTG.jl},
4-
url = {https://github.com/VEZY/MTG.jl},
3+
title = {MultiScaleTreeGraph.jl},
4+
url = {https://github.com/VEZY/MultiScaleTreeGraph.jl},
55
version = {v0.1.0},
66
year = {2021},
77
month = {5}

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name = "MTG"
1+
name = "MultiScaleTreeGraph"
22
uuid = "dd4a991b-8a45-4075-bede-262ee62d5583"
33
authors = ["remi.vezy <[email protected]> and contributors"]
44
version = "0.1.0"

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# MTG
1+
# MultiScaleTreeGraph
22

3-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://VEZY.github.io/MTG.jl/stable)
4-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://VEZY.github.io/MTG.jl/dev)
5-
[![Build Status](https://github.com/VEZY/MTG.jl/workflows/CI/badge.svg)](https://github.com/VEZY/MTG.jl/actions)
6-
[![Coverage](https://codecov.io/gh/VEZY/MTG.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/VEZY/MTG.jl)
3+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://VEZY.github.io/MultiScaleTreeGraph.jl/stable)
4+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://VEZY.github.io/MultiScaleTreeGraph.jl/dev)
5+
[![Build Status](https://github.com/VEZY/MultiScaleTreeGraph.jl/workflows/CI/badge.svg)](https://github.com/VEZY/MultiScaleTreeGraph.jl/actions)
6+
[![Coverage](https://codecov.io/gh/VEZY/MultiScaleTreeGraph.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/VEZY/MultiScaleTreeGraph.jl)
77
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle)
88
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
99

1010

11-
The goal of MTG.jl is to read, write, analyse and plot MTG (Multi-scale Tree Graph) files. These files describe the plant topology (*i.e.* structure) along with some attributes for each node (*e.g.* geometry, colors, state...).
11+
The goal of MultiScaleTreeGraph.jl is to read, write, analyse and plot MTG (Multi-scale Tree Graph) files. These files describe the plant topology (*i.e.* structure) along with some attributes for each node (*e.g.* geometry, colors, state...).
1212

1313
> The package is under intensive development and is in a very early version. The functions may heavily change from one version to another until a more stable version is released.
1414
1515
## 1. Installation
1616

17-
You can install the development version of MTG.jl from [GitHub](https://github.com/) using Pkg:
17+
You can install the development version of MultiScaleTreeGraph.jl from [GitHub](https://github.com/) using Pkg:
1818

1919
```julia
2020
using Pkg
21-
Pkg.add(url="https://github.com/VEZY/MTG.jl", rev="master")
21+
Pkg.add(url="https://github.com/VEZY/MultiScaleTreeGraph.jl", rev="master")
2222
```
2323

2424
## 2. Example
2525

2626
Read a simple MTG file:
2727

2828
```julia
29-
using MTG
29+
using MultiScaleTreeGraph
3030

3131
file = download("https://raw.githubusercontent.com/VEZY/XploRer/master/inst/extdata/simple_plant.mtg");
3232

@@ -73,7 +73,7 @@ plotlyjs()
7373
plot(mtg)
7474
```
7575

76-
You can learn more about MTG.jl in the [documentation of the package](https://vezy.github.io/MTG.jl/dev/).
76+
You can learn more about MultiScaleTreeGraph.jl in the [documentation of the package](https://vezy.github.io/MultiScaleTreeGraph.jl/dev/).
7777

7878
## 3. Roadmap
7979

docs/Manifest.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ version = "0.3.3"
493493
[[Logging]]
494494
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
495495

496-
[[MTG]]
496+
[[MultiScaleTreeGraph]]
497497
deps = ["AbstractTrees", "DataFrames", "DelimitedFiles", "Graphs", "MetaGraphsNext", "MutableNamedTuples", "OrderedCollections", "Printf", "RecipesBase", "SHA", "XLSX"]
498498
path = ".."
499499
uuid = "dd4a991b-8a45-4075-bede-262ee62d5583"

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3-
MTG = "dd4a991b-8a45-4075-bede-262ee62d5583"
3+
MultiScaleTreeGraph = "dd4a991b-8a45-4075-bede-262ee62d5583"
44
PlotlyJS = "f0f68f2c-4968-5e81-91da-67840de0976a"
55
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"

docs/make.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
using MTG
1+
using MultiScaleTreeGraph
22
using Documenter
33
using Plots
4-
DocMeta.setdocmeta!(MTG, :DocTestSetup, :(using MTG); recursive = true)
4+
DocMeta.setdocmeta!(MultiScaleTreeGraph, :DocTestSetup, :(using MultiScaleTreeGraph); recursive = true)
55

66
makedocs(;
7-
modules = [MTG],
7+
modules = [MultiScaleTreeGraph],
88
authors = "remi.vezy <[email protected]> and contributors",
9-
repo = "https://github.com/VEZY/MTG.jl/blob/{commit}{path}#{line}",
10-
sitename = "MTG.jl",
9+
repo = "https://github.com/VEZY/MultiScaleTreeGraph.jl/blob/{commit}{path}#{line}",
10+
sitename = "MultiScaleTreeGraph.jl",
1111
format = Documenter.HTML(;
1212
prettyurls = get(ENV, "CI", "false") == "true",
13-
canonical = "https://VEZY.github.io/MTG.jl",
13+
canonical = "https://VEZY.github.io/MultiScaleTreeGraph.jl",
1414
assets = String[],
1515
),
1616
pages = [
@@ -21,5 +21,5 @@ makedocs(;
2121
)
2222

2323
deploydocs(;
24-
repo = "github.com/VEZY/MTG.jl",
24+
repo = "github.com/VEZY/MultiScaleTreeGraph.jl",
2525
)

docs/src/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# MTG.jl functions
1+
# MultiScaleTreeGraph.jl functions
22

3-
Here is a list of all exported functions from MTG.jl. For more details, click on the link and you'll be directed to the function help.
3+
Here is a list of all exported functions from MultiScaleTreeGraph.jl. For more details, click on the link and you'll be directed to the function help.
44

55
```@index
66
```
77

88
```@autodocs
9-
Modules = [MTG]
9+
Modules = [MultiScaleTreeGraph]
1010
```

docs/src/get_started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22

33
## 1. Installation
44

5-
You can install the development version of MTG.jl from [GitHub](https://github.com/) using Pkg:
5+
You can install the development version of MultiScaleTreeGraph.jl from [GitHub](https://github.com/) using Pkg:
66

77
```julia
88
using Pkg
9-
Pkg.add(url="https://github.com/VEZY/MTG.jl", rev="master")
9+
Pkg.add(url="https://github.com/VEZY/MultiScaleTreeGraph.jl", rev="master")
1010
```
1111

1212
## 2. Example
1313

1414
```@setup usepkg
15-
using MTG
16-
file = joinpath(dirname(dirname(pathof(MTG))),"test","files","simple_plant.mtg")
15+
using MultiScaleTreeGraph
16+
file = joinpath(dirname(dirname(pathof(MultiScaleTreeGraph))),"test","files","simple_plant.mtg")
1717
mtg = read_mtg(file)
1818
transform!(mtg, :Length => (x -> isnothing(x) ? nothing : x * 100.) => :length_mm)
1919
```
2020

2121
Read a simple MTG file:
2222

2323
```@example usepkg
24-
using MTG
24+
using MultiScaleTreeGraph
2525
26-
file = joinpath(dirname(dirname(pathof(MTG))),"test","files","simple_plant.mtg")
26+
file = joinpath(dirname(dirname(pathof(MultiScaleTreeGraph))),"test","files","simple_plant.mtg")
2727
mtg = read_mtg(file)
2828
```
2929

docs/src/index.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
```@meta
2-
CurrentModule = MTG
2+
CurrentModule = MultiScaleTreeGraph
33
```
44

5-
# MTG.jl
5+
# MultiScaleTreeGraph.jl
66

7-
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://VEZY.github.io/MTG.jl/stable)
8-
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://VEZY.github.io/MTG.jl/dev)
9-
[![Build Status](https://github.com/VEZY/MTG.jl/workflows/CI/badge.svg)](https://github.com/VEZY/MTG.jl/actions)
10-
[![Coverage](https://codecov.io/gh/VEZY/MTG.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/VEZY/MTG.jl)
7+
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://VEZY.github.io/MultiScaleTreeGraph.jl/stable)
8+
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://VEZY.github.io/MultiScaleTreeGraph.jl/dev)
9+
[![Build Status](https://github.com/VEZY/MultiScaleTreeGraph.jl/workflows/CI/badge.svg)](https://github.com/VEZY/MultiScaleTreeGraph.jl/actions)
10+
[![Coverage](https://codecov.io/gh/VEZY/MultiScaleTreeGraph.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/VEZY/MultiScaleTreeGraph.jl)
1111
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle)
1212
[![ColPrac: Contributor's Guide on Collaborative Practices for Community Packages](https://img.shields.io/badge/ColPrac-Contributor's%20Guide-blueviolet)](https://github.com/SciML/ColPrac)
1313

14-
Documentation for [MTG.jl](https://github.com/VEZY/MTG.jl).
14+
Documentation for [MultiScaleTreeGraph.jl](https://github.com/VEZY/MultiScaleTreeGraph.jl).
1515

1616
## Overview
1717

18-
The goal of MTG.jl is to read, write, analyse and plot MTG (Multi-scale Tree Graph) files.
18+
The goal of MultiScaleTreeGraph.jl is to read, write, analyse and plot MTG (Multi-scale Tree Graph) files.
1919

2020
The Multi-Scale Tree Graph, or MTG, is a data structure used to encode a plant to describe its topology (*i.e.* structure) and any attributes (*e.g.* geometry, colours, state...). It was developed in the [AMAP lab](https://amap.cirad.fr/) in the 90's to cope with the need of a generic yet scalable structure for plant topology and traits measurement, analysis and modelling.
2121

2222
The format is described in details in the original paper from Godin et al. (1997).
2323

2424
The MTG format helps describe the plant at different scales at the same time. For example we can describe a plant at the scale of the organ (e.g. leaf, internode), the scale of a growth unit, the scale of the axis, the crown or even at the whole plant.
2525

26-
You can find out hw to use the package on the [Getting started](@ref) section.
26+
You can find out how to use the package on the [Getting started](@ref) section.
2727
## References
2828

2929
Godin, C., et Y. Caraglio. 1998. « A Multiscale Model of Plant Topological Structures ». Journal of Theoretical Biology 191 (1): 1‑46. https://doi.org/10.1006/jtbi.1997.0561.

0 commit comments

Comments
 (0)