Skip to content

Commit

Permalink
Merge pull request #63 from parklab/dev
Browse files Browse the repository at this point in the history
Bug fix; Missing connected signatures
  • Loading branch information
Hu-JIN authored Feb 3, 2023
2 parents 4f0bc2a + 560d35f commit d7038e1
Show file tree
Hide file tree
Showing 5 changed files with 484 additions and 10 deletions.
3 changes: 2 additions & 1 deletion musical/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def restrict_catalog(self, tumor_type = None, is_MMRD = True, is_PPD = True):
if not is_PPD:
self._signatures = [item for index,item in enumerate(self._signatures) if item not in signatures_PPD]
self._W = self._W[self._signatures]

self._W_norm = self._W_norm[self._signatures]

def show_tumor_type_options(self):
if self._sig_type == '':
raise ValueError('Supported for SBS and Indel catalogs')
Expand Down
Loading

0 comments on commit d7038e1

Please sign in to comment.