Skip to content

Commit

Permalink
Merge pull request #88 from klarman-cell-observatory/yiming
Browse files Browse the repository at this point in the history
initialize metadata before use
  • Loading branch information
yihming committed Jan 19, 2022
2 parents 21c3887 + c1aa5d5 commit 0bc2b67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pegasusio/unimodal_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ def __init__(
barcode_metadata = pd.DataFrame()
if feature_metadata is None:
feature_metadata = pd.DataFrame()
if metadata is None:
metadata = dict()
if barcode_multiarrays is None:
barcode_multiarrays = dict()
if feature_multiarrays is None:
Expand Down

0 comments on commit 0bc2b67

Please sign in to comment.