Skip to content

Commit

Permalink
Remove incorrect warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-hampton committed Nov 19, 2024
1 parent 3790f83 commit f4cdd64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ncas_amof_netcdf_template/create_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ def add_variables(
# and forget about that variable
if "dimension" not in tmp_value.keys():
print(f"WARN: No dimensions for variable {key}")
print("Variable not added file")
var_dims = ()

Check warning on line 330 in src/ncas_amof_netcdf_template/create_netcdf.py

View check run for this annotation

Codecov / codecov/patch

src/ncas_amof_netcdf_template/create_netcdf.py#L329-L330

Added lines #L329 - L330 were not covered by tests
else:
var_dims = tmp_value.pop("dimension")
Expand Down

0 comments on commit f4cdd64

Please sign in to comment.