Skip to content

Commit

Permalink
remove commented out guff
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWellie committed Sep 15, 2023
1 parent c0584d6 commit ee43956
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions scripts/new_test_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,25 +814,6 @@ def process_existing_test_samples(

return keep, remove

# external_ids = [s['external_id'] for s in samples]
# test_samples_to_remove = [
# s for s in test_samples if s['external_id'] not in external_ids
# ]
# test_samples_to_keep = [s for s in test_samples if s['external_id'] in external_ids]
# if test_samples_to_remove:
# logger.info(
# f'Removing test samples: {_pretty_format_samples(test_samples_to_remove)}'
# )
# for s in test_samples_to_remove:
# sapi.update_sample(s['id'], SampleUpsert(active=False))
#
# if test_samples_to_keep:
# logger.info(
# f'Test samples already exist: {_pretty_format_samples(test_samples_to_keep)}'
# )
#
# return {s['external_id']: s for s in test_samples_to_keep}


def pull_samples_from_families(
families: set[str], all_samples: dict[str, dict[str, str]]
Expand Down

0 comments on commit ee43956

Please sign in to comment.