Skip to content

Commit

Permalink
Lint: Stressor Utils Module (sandialabs#46)
Browse files Browse the repository at this point in the history
Adds Stressor Utils to enforced linting
  • Loading branch information
ssolson authored Sep 4, 2024
1 parent 6ca286b commit b833f1f
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 121 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
docker exec qgis-testing-environment sh -c "/tests_directory/venv/bin/pylint /tests_directory/seat/modules/velocity_module.py"
docker exec qgis-testing-environment sh -c "/tests_directory/venv/bin/pylint /tests_directory/seat/modules/shear_stress_module.py"
docker exec qgis-testing-environment sh -c "/tests_directory/venv/bin/pylint /tests_directory/seat/modules/power_module.py"
docker exec qgis-testing-environment sh -c "/tests_directory/venv/bin/pylint /tests_directory/seat/modules/stressor_utils.py"
- name: Clean up Docker container
if: always()
Expand Down
4 changes: 2 additions & 2 deletions seat/modules/shear_stress_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
numpy_array_to_raster,
classify_layer_area,
bin_layer,
classify_layer_area_2nd_Constraint,
classify_layer_area_2nd_constraint,
resample_structured_grid,
secondary_constraint_geotiff_to_numpy,
)
Expand Down Expand Up @@ -787,7 +787,7 @@ def run_shear_stress_stressor(
index=False,
)

classify_layer_area_2nd_Constraint(
classify_layer_area_2nd_constraint(
raster_to_sample=os.path.join(
output_path, "sediment_mobility_difference.tif"
),
Expand Down
Loading

0 comments on commit b833f1f

Please sign in to comment.