Skip to content

Commit

Permalink
style: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Oct 25, 2024
1 parent ee9b5c1 commit 5061aae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uvdat/core/tasks/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def convert_dataset(
dataset.save()

# remove any existing generated files
generated_files = FileItem.objects.filter(dataset=dataset, metadata__generated=True).delete()
FileItem.objects.filter(dataset=dataset, metadata__generated=True).delete()

if dataset.dataset_type == dataset.DatasetType.RASTER:
RasterMapLayer.objects.filter(dataset=dataset).delete()
Expand Down
3 changes: 2 additions & 1 deletion uvdat/core/tasks/map_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ def add_styling(geojson_data, style_options):

def split_raster_zip(file_item, style_options):
"""For each raster image in a zip file, create a new FileItem."""
# NOTE: This implementation is not abstract; this was built for the Boston Flood Timeseries dataset.
# NOTE: This implementation is not abstract;
# this was built for the Boston Flood Timeseries dataset.
import large_image_converter

if file_item.file_type == 'zip':
Expand Down

0 comments on commit 5061aae

Please sign in to comment.