Skip to content

Commit fcceffa

Browse files
committed
do not rely on implicit string concatenation
1 parent cdc7c6d commit fcceffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stagpy/plates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def cmd(conf: Config) -> None:
417417
with open(f"{oname}.dat", "w") as fid:
418418
fid.write(
419419
"# istep time time_My phi_trench vel_trench "
420-
"distance phi_cont age_trench_My\n"
420+
+ "distance phi_cont age_trench_My\n"
421421
)
422422

423423
for step in view.filter(fields=["T"]):

src/stagpy/processing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def stream_function(step: Step) -> Field:
263263
shape = (v_x.shape[0], 1, v_x.shape[1], 1)
264264
else:
265265
raise NotAvailableError(
266-
"Stream function only implemented in " "2D cartesian and spherical annulus"
266+
"Stream function only implemented in 2D cartesian and spherical annulus"
267267
)
268268
psi = np.zeros_like(v_x)
269269
if step.geom.spherical: # YZ annulus

0 commit comments

Comments
 (0)