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 28, 2023
1 parent 034b837 commit f5aacdb
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 68 deletions.
7 changes: 5 additions & 2 deletions metamist/audit/audithelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@
class AuditHelper(CloudHelper):
"""General helper class for bucket auditing"""

#
EXCLUDED_SGS = os.getenv('SM_AUDIT_HELPER_EXCLUDED_SGS', '').split(',')
EXCLUDED_SGS: set[str] = set(
sg for sg in
os.getenv('SM_AUDIT_EXCLUDED_SGS', '').split(',')
if sg
)

@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 f5aacdb

Please sign in to comment.