Skip to content

Commit 6eb5d02

Browse files
committed
chore: ruffing
1 parent 419abb3 commit 6eb5d02

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

loopstructural/gui/visualisation/object_list_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def _export_grid_ascii(self, mesh, file_path, object_label):
376376
# Write to file
377377
with open(file_path, 'w') as f:
378378
f.write(f"# ASCII Grid Export: {object_label}\n")
379-
f.write(f"# Format: x y z value\n")
379+
f.write("# Format: x y z value\n")
380380
f.write(f"# Number of cells: {mesh.n_cells}\n")
381381
if scalar_name:
382382
f.write(f"# Scalar field: {scalar_name}\n")

loopstructural/processing/algorithms/sorter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def build_input_frames(
415415
dict(
416416
layerId=f.id(),
417417
name=f[unit_name_field],
418-
minAge=QVariantCompatToFloat(f, min_age_field),
418+
minAge=qvariantToFloat(f, min_age_field),
419419
maxAge=qvariantToFloat(f, max_age_field),
420420
group=f[group_field],
421421
)

0 commit comments

Comments
 (0)