Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Jan 29, 2024
1 parent f0a3b9e commit 18f1b81
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions bedboss/bedbuncher/bedbuncher.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,6 @@ def calculate_bedset_statistics(bbc: BedBaseConf, bedset: BedSet) -> dict:
_LOGGER.info("Bedset statistics were calculated successfully")
return results_dict

# # Another way to do it, but it's slower:
# results_dict = {}
# results = bbc.bed.retrieve(record_identifier=list_of_samples, result_identifier=int_col)["records"]
# for sample in results:
# for stat_value_dict in sample.values():
# for key, value in stat_value_dict.items():
# if key in results_dict:
# results_dict[key].append(value)
# else:
# results_dict[key] = [value]


def create_bed_list_file(bedset: BedSet, file_path: str) -> None:
"""
Expand Down

0 comments on commit 18f1b81

Please sign in to comment.