Skip to content

Commit

Permalink
Update _core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zktuong committed Oct 13, 2023
1 parent 56621b4 commit ef1bab3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dandelion/utilities/_core.py
Expand Up @@ -986,6 +986,13 @@ def update_metadata(

for r in ret_metadata:
tmp_metadata[r] = pd.Series(ret_metadata[r])

for dcol in [
"d_sequence_alignment_aa_VJ",
"d_sequence_alignment_VJ",
]:
if dcol in tmp_metadata:
tmp_metadata.drop(dcol, axis=1, inplace=True)
self.metadata = tmp_metadata.copy()

def write_pkl(self, filename: str = "dandelion_data.pkl.pbz2", **kwargs):
Expand Down

0 comments on commit ef1bab3

Please sign in to comment.