Skip to content

Commit 24f3db5

Browse files
committed
exome=True with correction=True fix
1 parent c652546 commit 24f3db5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

SigProfilerClusters/hotspot.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,10 @@ def calculateSampleIMDs (project, folders, directory, directory_orig, vcf_path_c
668668
sim_count = len(files)
669669
for file in files:
670670
if correction:
671-
sim = file.split("_")[-3]
671+
if "_exome_" in file:
672+
sim = file.split("_")[-4]
673+
else:
674+
sim = file.split("_")[-3]
672675
densityMutsSim[sim] = []
673676
chroms = []
674677
if file == '.DS_Store':

SigProfilerClusters/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
# THIS FILE IS GENERATED FROM SIGPROFILECLUSTERS SETUP.PY
3-
short_version = '1.1.0'
4-
version = '1.1.0'
3+
short_version = '1.1.1'
4+
version = '1.1.1'
55

66

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def readme():
1515
# with open('README.rst') as f:
1616
# return(f.read())
1717

18-
VERSION = '1.1.1'
18+
VERSION = '1.1.2'
1919

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

0 commit comments

Comments
 (0)