Skip to content

Commit

Permalink
fix for varbin-10x...
Browse files Browse the repository at this point in the history
  • Loading branch information
lchorbadjiev committed Jun 19, 2020
1 parent 51043d2 commit fd3ab83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sgains/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def create_local_cluster(self):
print("workers=", workers, " threads_per_worker=", threads_per_worker)
cluster = LocalCluster(
n_workers=workers, threads_per_worker=threads_per_worker,
dashboard_address=':28787')
dashboard_address='0.0.0.0:28787')
return cluster

def create_sge_cluster(self):
Expand All @@ -45,7 +45,7 @@ def create_sge_cluster(self):
name="sgains-tools",
job_extra=job_extra,
walltime='08:00:00',
dashboard_address=':28787',
dashboard_address='0.0.0.0:28787',
)
cluster.adapt(minimum=workers, maximum=workers)
print("SGE cluster dashboard link:", cluster.dashboard_link)
Expand Down
1 change: 1 addition & 0 deletions sgains/pipelines/varbin_10x_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ def process_cell_reads(self, cell_id):
df.to_csv(outfile, sep='\t', index=False)

cell_dirname = self._cell_reads_dirname(cell_id)
print(f"going to remove {cell_dirname}...")
shutil.rmtree(cell_dirname)

return cell_id
Expand Down

0 comments on commit fd3ab83

Please sign in to comment.