Skip to content

Commit

Permalink
minor fix, added exclude import from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
saramonzon committed Aug 28, 2023
1 parent 99471ae commit e379e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions core/utils/samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ def save_project_data(excel_data, project_info):
- success: True/False
- error: error message
"""
save_result = []
for sample in excel_data:
for field in project_info["sample_project_fields"]:
field_value = {}
Expand Down Expand Up @@ -398,7 +397,7 @@ def save_project_data(excel_data, project_info):
field_value["sample_id"].set_state("Pre-Defined")
raise

return save_result
return project_info


def check_empty_fields(row_data, optional_index):
Expand Down
2 changes: 1 addition & 1 deletion wetlab/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import re
import statistics
import time
from collections import OrderedDict
from collections import OrderedDict # noqa

import django.contrib.auth.models
import smb
Expand Down

0 comments on commit e379e0d

Please sign in to comment.