Fix dataset reading and pearson correlation is 0#31
Fix dataset reading and pearson correlation is 0#31ghuls wants to merge 2 commits intoparklab:masterfrom
Conversation
Fix reading datasets from base_list if defined without '/' in the names
by using os.path.basename instead of trying to get the basename ourself
in a hacky way.
Fixes the following error when filenames listed in datalist don't
contain slashes:
File "./NGSCheckMate/ncm.py", line 254, in createDataSetFromList
file = link[link.rindex("/")+1:]
ValueError: substring not found
Allow Pearson correlation to be zero.
Fixes the following error:
File "./NGSCheckMate/ncm.py", line 59, in pearson_def
return diffprod / math.sqrt(xdiff2 * ydiff2)
ZeroDivisionError: float division by zero
|
Hi, i even with the new version got this error "ZeroDivisionError: float division by zero" this is the code i run: WARNNING : NCM_HOME is not defined yet. Therefore, program will try to search ncm.conf file from the current directory PLEASE HELP!!! |
No description provided.