Skip to content

Exclude sessions#151

Merged
zduey merged 7 commits intomasterfrom
exclude_sessions
Mar 8, 2018
Merged

Exclude sessions#151
zduey merged 7 commits intomasterfrom
exclude_sessions

Conversation

@zduey
Copy link
Copy Markdown
Contributor

@zduey zduey commented Mar 8, 2018

Updated how the existing sessions parameter is used to allow for explicitly passed sessions to implicitly exclude sessions. catFR sessions must be offset by 100 and PAL must be offset by 200. FR and PS start at 0

@zduey zduey requested a review from mivade March 8, 2018 18:54
Comment thread ramutils/events.py Outdated
return events


def extract_relevant_sessions(experiment, sessions):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that I like the naming of this function, but since you're documenting exactly what it means it's not a showstopper.

Comment thread ramutils/pipelines/report.py Outdated
used_pair_mask, excluded_pairs,
final_pairs, pairs_metadata_table,
all_events, **kwargs):
all_events, **kwargs):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental extra whitespace here.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 8, 2018

Codecov Report

Merging #151 into master will decrease coverage by 0.72%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   55.95%   55.22%   -0.73%     
==========================================
  Files          33       33              
  Lines        3208     3319     +111     
==========================================
+ Hits         1795     1833      +38     
- Misses       1413     1486      +73
Impacted Files Coverage Δ
ramutils/reports/generate.py 27.18% <ø> (+0.76%) ⬆️
ramutils/pipelines/report.py 7.81% <0%> (-0.16%) ⬇️
ramutils/events.py 40.17% <92.85%> (+1.23%) ⬆️
ramutils/montage.py 73.64% <0%> (+1.1%) ⬆️
ramutils/tasks/montage.py 75% <0%> (+4.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fe0806...8f60d73. Read the comment docs.

@zduey zduey merged commit bdd377f into master Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants