Skip to content

Commit

Permalink
exome=True with correction=True fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ebergstr committed Nov 28, 2023
1 parent c652546 commit 24f3db5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion SigProfilerClusters/hotspot.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,10 @@ def calculateSampleIMDs (project, folders, directory, directory_orig, vcf_path_c
sim_count = len(files)
for file in files:
if correction:
sim = file.split("_")[-3]
if "_exome_" in file:
sim = file.split("_")[-4]
else:
sim = file.split("_")[-3]
densityMutsSim[sim] = []
chroms = []
if file == '.DS_Store':
Expand Down
4 changes: 2 additions & 2 deletions SigProfilerClusters/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

# THIS FILE IS GENERATED FROM SIGPROFILECLUSTERS SETUP.PY
short_version = '1.1.0'
version = '1.1.0'
short_version = '1.1.1'
version = '1.1.1'


2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def readme():
# with open('README.rst') as f:
# return(f.read())

VERSION = '1.1.1'
VERSION = '1.1.2'

def write_version_py(filename='SigProfilerClusters/version.py'):
# Copied from numpy setup.py
Expand Down

0 comments on commit 24f3db5

Please sign in to comment.