Skip to content

Commit

Permalink
Merge pull request #1397 from AllenInstitute/GH-771/update/remove-red…
Browse files Browse the repository at this point in the history
…undant-trial-col

GH 771: Remove redundant 'sham_change' column from trials
  • Loading branch information
kschelonka authored Mar 5, 2020
2 parents 6abf105 + ea8af99 commit f4dd74b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions allensdk/brain_observatory/behavior/trials_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def get_trials(data, licks_df, rewards_df, stimulus_presentations_df, rebase):

trials = pd.DataFrame(all_trial_data).set_index('trial')
trials.index = trials.index.rename('trials_id')
del trials["sham_change"]

return trials

Expand Down

0 comments on commit f4dd74b

Please sign in to comment.