Skip to content

Commit

Permalink
FIX report.source_time_results: data source space for parc=True
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Feb 28, 2017
1 parent 3d3a410 commit 4f21df4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eelbrain/_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ def source_time_results(res, ds, colors, include=0.1, surfer_kwargs={},
section = report.add_section(label.capitalize())

clusters = res.find_clusters(source=label)
src_ = y.sub(source=label)
source_time_clusters(section, clusters, src_, ds, model, include,
source_time_clusters(section, clusters, y, ds, model, include,
title, colors, res)
elif not parc and res._kind == 'cluster':
source_bin_table(report, res, surfer_kwargs)
Expand Down Expand Up @@ -326,8 +325,7 @@ def source_time_results(res, ds, colors, include=0.1, surfer_kwargs={},
clusters_all = clusters_all.sub("p>0.1")
clusters = combine((clusters_sig, clusters_trend, clusters_all))
clusters.sort('tstart')
src_ = y.sub(source=label)
source_time_clusters(section, clusters, src_, ds, model, include,
source_time_clusters(section, clusters, y, ds, model, include,
title, colors, res)
else:
raise RuntimeError
Expand Down

0 comments on commit 4f21df4

Please sign in to comment.