Skip to content

Commit d54588c

Browse files
more
1 parent 81507f5 commit d54588c

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

frontend/src/components/GridSimulation/CompareGridSimulations.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ const CompareGridSimulations: React.FC<CompareGridSimulationsProps> = ({ gridIds
9090
});
9191

9292
const axisSubstances = new Set(results.map((r) => r.axes[0]?.substance).filter(Boolean));
93-
const xAxisLabel = axisSubstances.size === 1 ? `${[...axisSubstances][0]} (ppm)` : "Swept concentration (ppm)";
93+
const xAxisLabel = axisSubstances.size === 1 ? `${[...axisSubstances][0]} (ppm)` : "Varied concentration (ppm)";
9494

9595
return (
9696
<MainContainer>
9797
{header}
9898
<Typography variant="body_short" style={{ marginBottom: "1rem" }}>
9999
Comparing {results.length} grid simulations. Each line shows how the selected output substance responds
100-
across the swept range.
100+
across the configured range.
101101
</Typography>
102102
<NativeSelect
103103
id="compareGridSubstance"

frontend/src/components/GridSimulation/GridResults.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const GridResults: React.FC<GridResultsProps> = ({ result }) => {
3232
return (
3333
<>
3434
<Typography variant="body_short" style={{ marginBottom: "1rem" }}>
35-
Sweeping <strong>{optionName(xAxisSubstance)}</strong> across {points.length} values using{" "}
35+
Varying <strong>{optionName(xAxisSubstance)}</strong> across {points.length} values using{" "}
3636
<strong>{modelLabel}</strong>.
3737
</Typography>
3838

frontend/src/components/Simulation/ModelInputs.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,16 @@ function GridRangeInput({ candidateSubstances }: { candidateSubstances: string[]
117117

118118
return (
119119
<div style={{ display: "flex", flexDirection: "column", gap: "16px", flexGrow: 1 }}>
120-
<Typography variant="h3">Range sweep</Typography>
120+
<Typography variant="h3">Concentration range</Typography>
121121
<Typography variant="body_short">
122-
Optionally sweep a single concentration across a linear range to see how the outputs respond.
122+
Optionally vary a single concentration across a range to see how the outputs respond.
123123
</Typography>
124124
{axis ? (
125125
<>
126126
<div style={{ display: "flex", alignItems: "center", gap: "8px" }}>
127127
<NativeSelect
128128
id="gridAxis0"
129-
label="Substance to sweep"
129+
label="Substance"
130130
value={axis.substance}
131131
onChange={(e) => {
132132
if (e.target.value === "") {
@@ -184,7 +184,7 @@ function GridRangeInput({ candidateSubstances }: { candidateSubstances: string[]
184184
) : (
185185
<NativeSelect
186186
id="gridAxis0"
187-
label="Substance to sweep"
187+
label="Substance"
188188
value=""
189189
onChange={(e) => {
190190
if (e.target.value !== "") {
@@ -308,7 +308,7 @@ const ModelInputs: React.FC<{
308308
invalid
309309
? "⚠️ Not supported by selected models"
310310
: isGridded
311-
? "Swept across the configured range"
311+
? "Varied across the configured range"
312312
: undefined
313313
}
314314
variant={invalid ? "error" : undefined}

0 commit comments

Comments
 (0)