Skip to content

Commit 302123d

Browse files
committed
Bump loam dependency
Options are now grouped in help, and `_` is replaced by `-` in option names.
1 parent 98485b1 commit 302123d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
]
3030
requires-python = ">=3.8"
3131
dependencies = [
32-
"loam>=0.7.0,<0.8.0",
32+
"loam>=0.8.0,<0.9.0",
3333
"f90nml>=1.4.3",
3434
"setuptools_scm>=7.1",
3535
"numpy>=1.21",

stagpy/config.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
@dataclass
3131
class Common(Section):
32-
"""Options used by all commands."""
32+
"""General options."""
3333

3434
config: bool = command_flag("print config options")
3535

3636

3737
@dataclass
3838
class Core(Section):
39-
"""Options used by most commands."""
39+
"""Core control."""
4040

4141
path: Path = path_entry(
4242
path=".", cli_short="p", doc="path of StagYY run directory or par file"
@@ -53,7 +53,7 @@ class Core(Section):
5353

5454
@dataclass
5555
class Plot(Section):
56-
"""Options to tweak plots."""
56+
"""Plotting."""
5757

5858
ratio: Optional[float] = MaybeEntry(float).entry(
5959
doc="force aspect ratio of field plot", in_file=False
@@ -78,7 +78,7 @@ class Plot(Section):
7878

7979
@dataclass
8080
class Scaling(Section):
81-
"""Options regarding dimensionalization."""
81+
"""Dimensionalization."""
8282

8383
yearins: float = entry(val=3.154e7, in_cli=False, doc="year in seconds")
8484
ttransit: float = entry(val=1.78e15, in_cli=False, doc="transit time in My")
@@ -94,7 +94,7 @@ class Scaling(Section):
9494

9595
@dataclass
9696
class Field(Section):
97-
"""Options of the field command."""
97+
"""Field command."""
9898

9999
plot: Sequence[Sequence[Sequence[str]]] = _plots.entry(
100100
default="T,stream", cli_short="o", doc="variables to plot (see stagpy var)"
@@ -131,7 +131,7 @@ class Field(Section):
131131

132132
@dataclass
133133
class Rprof(Section):
134-
"""Options of the rprof command."""
134+
"""Rprof command."""
135135

136136
plot: Sequence[Sequence[Sequence[str]]] = _plots.entry(
137137
default="Tmean", cli_short="o", doc="variables to plot (see stagpy var)"
@@ -144,7 +144,7 @@ class Rprof(Section):
144144

145145
@dataclass
146146
class Time(Section):
147-
"""Options of the time command."""
147+
"""Time command."""
148148

149149
plot: Sequence[Sequence[Sequence[str]]] = _plots.entry(
150150
default="Nutop,ebalance,Nubot.Tmean",
@@ -175,7 +175,7 @@ class Time(Section):
175175

176176
@dataclass
177177
class Refstate(Section):
178-
"""Options of the refstate command."""
178+
"""Refstate command."""
179179

180180
plot: Sequence[str] = TupleEntry(str).entry(
181181
default="T", cli_short="o", doc="variables to plot (see stagpy var)"
@@ -185,7 +185,7 @@ class Refstate(Section):
185185

186186
@dataclass
187187
class Plates(Section):
188-
"""Options of the plates command."""
188+
"""Plates command."""
189189

190190
plot: Sequence[Sequence[Sequence[str]]] = _plots.entry(
191191
default="c.T.v2-v2.dv2-v2.topo_top",
@@ -211,7 +211,7 @@ class Plates(Section):
211211

212212
@dataclass
213213
class Info(Section):
214-
"""Options of the info command."""
214+
"""Info command."""
215215

216216
output: Sequence[str] = TupleEntry(str).entry(
217217
default="t,Tmean,vrms,Nutop,Nubot", cli_short="o", doc="time series to print"
@@ -220,7 +220,7 @@ class Info(Section):
220220

221221
@dataclass
222222
class Var(Section):
223-
"""Options of the var command."""
223+
"""Var command."""
224224

225225
field: bool = command_flag("print field variables")
226226
sfield: bool = command_flag("print surface field variables")

0 commit comments

Comments
 (0)