diff --git a/cluster/__init__.py b/cluster/__init__.py index bb8bc36..302f089 100644 --- a/cluster/__init__.py +++ b/cluster/__init__.py @@ -12,6 +12,7 @@ def detect_cluster_system(): :return: string "SBE", "PBS" or "other" """ + try: which_output = check_output(["which", "sge_qmaster"], stderr=DEVNULL).decode("utf-8") diff --git a/helper/pca_plot.py b/helper/pca_plot.py index 3444afd..21d5a7e 100644 --- a/helper/pca_plot.py +++ b/helper/pca_plot.py @@ -16,6 +16,7 @@ def run_pca(expression): # Load Expression data + df = pd.read_table(expression, header=0, index_col=0) run_ids = list(df.columns.values) dataMatrix = np.transpose(np.array(df))