1dba0aaea818505ac4e22cd779995b46454207bb,cnvlib/segmentation/__init__.py,,do_segmentation,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,19
Before Change
skip_low, skip_outliers,
save_dataframe, rlibpath)
chroms = cnarr.chromosome.unique()
rets = []
// TODO: handle save_dataframe=True
with futures.ProcessPoolExecutor(processes) as pool:
for ret in pool.map(_ds, ((cnarr[cnarr.chromosome == c], method,
threshold, variants, skip_low, skip_outliers,
False, rlibpath) for c in chroms)):
rets.append(ret)
data = pd.concat([r.data for r in rets])
meta = rets[0].meta
for r in rets[1:]:
meta.update(r.meta)
After Change
rets = []
// TODO: handle save_dataframe=True
with futures.ProcessPoolExecutor(processes) as pool:
rets = list(pool.map(_ds, ((ca, method,
threshold, variants, skip_low, skip_outliers,
save_dataframe, rlibpath) for _, ca in cnarr.by_chromosome())))
if save_dataframe:
rstr = [rets[0][1]]
for ret in rets[1:]:
r = ret[1]
rstr.append(r[r.index("\n") + 1:])
rets = [ret[0] for ret in rets]
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: etal/cnvkit
Commit Name: 1dba0aaea818505ac4e22cd779995b46454207bb
Time: 2016-08-30
Author: bpederse@gmail.com
File Name: cnvlib/segmentation/__init__.py
Class Name:
Method Name: do_segmentation
Project Name: bokeh/bokeh
Commit Name: d065784874671ef36edc22dfdb3e53155f219b39
Time: 2017-03-30
Author: jsignell@gmail.com
File Name: examples/plotting/file/jitter.py
Class Name:
Method Name:
Project Name: sao-eht/eat
Commit Name: 433cd5e10c9af9e74f97a2de2abb3142c36bb6a0
Time: 2017-07-04
Author: ckchan@cfa.harvard.edu
File Name: eat/factor.py
Class Name:
Method Name: factor
Project Name: dmnfarrell/pandastable
Commit Name: a4d2eb8dc0b30794437d1c81d64ff4abee1e2515
Time: 2015-05-19
Author: farrell.damien@gmail.com
File Name: plotting.py
Class Name: PlotViewer
Method Name: factorPlot
Project Name: david-abel/simple_rl
Commit Name: ecc8b0b34138fa480e1b1876fd2695c07be9b159
Time: 2018-08-22
Author: yagneshrevar@gmail.com
File Name: simple_rl/tasks/navigation/NavigationMDP.py
Class Name: NavigationMDP
Method Name: reset_goals