Skip to content

Commit

Permalink
codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
hanars committed Nov 15, 2024
1 parent 09d0bee commit b7fcf0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions seqr/views/apis/data_manager_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from django.views.decorators.csrf import csrf_exempt
from requests.exceptions import ConnectionError as RequestConnectionError

from hail_search.web_app import status
from seqr.utils.communication_utils import send_project_notification
from seqr.utils.search.add_data_utils import prepare_data_loading_request
from seqr.utils.search.utils import get_search_backend_status, delete_search_backend_data
Expand Down Expand Up @@ -596,7 +595,7 @@ def _get_valid_project_samples(project_samples, dataset_type, sample_type, user)
user, dataset_type, sample_type, AVAILABLE_PDO_STATUSES, project_guid=project,
)}
except ValueError as e:
errors.append(sttr(e))
errors.append(str(e))
continue
for sample_id, individual in individuals_by_sample_id.items():
if sample_id in loaded_samples:
Expand Down

0 comments on commit b7fcf0c

Please sign in to comment.