Skip to content

Commit

Permalink
Resolve main conflicts (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
illusional committed Sep 25, 2023
1 parent 6d1f9f1 commit d2f5ca8
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 70 deletions.
4 changes: 0 additions & 4 deletions metamist/audit/audithelper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# pylint: disable=no-member
import csv
import logging
import os
from collections import defaultdict
from typing import Any

Expand All @@ -14,9 +13,6 @@
class AuditHelper(CloudHelper):
"""General helper class for bucket auditing"""

#
EXCLUDED_SGS = os.getenv('SM_AUDIT_HELPER_EXCLUDED_SGS', '').split(',')

@staticmethod
def get_gcs_bucket_subdirs_to_search(paths: list[str]) -> defaultdict[str, list]:
"""
Expand Down
4 changes: 3 additions & 1 deletion scripts/find_sequence_files_to_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
projapi = ProjectApi()

# TODO: fetch this from metamist
CPG_SEQUENCING_GROUP_IDS_TO_SKIP = {}
CPG_SEQUENCING_GROUP_IDS_TO_SKIP: set[str] = set(
sg for sg in os.getenv('CPG_SEQUENCING_GROUP_IDS_TO_SKIP', '').split(',') if sg
)


def get_bucket_name_from_path(path_input):
Expand Down
2 changes: 1 addition & 1 deletion scripts/sync_seqr.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
),
}

SGS_TO_IGNORE = {}
SGS_TO_IGNORE: set[str] = set()
BASE, SEQR_AUDIENCE = ENVS[ENVIRONMENT]

url_individuals_sync = '/api/project/sa/{projectGuid}/individuals/sync'
Expand Down
Loading

0 comments on commit d2f5ca8

Please sign in to comment.