Skip to content

Commit

Permalink
Update _core.py (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
zktuong authored Oct 13, 2023
1 parent 56621b4 commit c20db6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dandelion/utilities/_core.py
Original file line number Diff line number Diff line change
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 c20db6d

Please sign in to comment.