Skip to content

Commit

Permalink
removed old unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjones315 committed May 8, 2024
1 parent 83009eb commit fca94b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cassiopeia/plotting/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ def create_indel_heatmap(
indel_colors: Optional[pd.DataFrame] = None,
indel_priors: Optional[pd.DataFrame] = None,
random_state: Optional[np.random.RandomState] = None,
clustered_linprof: Optional[pd.DataFrame] = None,
) -> Tuple[
List[
Dict[
Expand Down Expand Up @@ -408,6 +407,9 @@ def place_tree_and_annotations(
colorstrips.extend(heatmap)

# Any other annotations
if type(meta_data) == str:
meta_data = [meta_data]

for meta_item in meta_data:
if meta_item not in tree.cell_meta.columns:
raise PlottingError(
Expand Down

0 comments on commit fca94b2

Please sign in to comment.