{"action":"created","issue":{"url":"https://api.github.com/repos/limblab/TrialData/issues/2","repository_url":"https://api.github.com/repos/limblab/TrialData","labels_url":"https://api.github.com/repos/limblab/TrialData/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/limblab/TrialData/issues/2/comments","events_url":"https://api.github.com/repos/limblab/TrialData/issues/2/events","html_url":"https://github.com/limblab/TrialData/issues/2","id":209325564,"node_id":"MDU6SXNzdWUyMDkzMjU1NjQ=","number":2,"title":"dupeAndShift interacts weirdly with re-binning","user":{"login":"mattperich","id":5573318,"node_id":"MDQ6VXNlcjU1NzMzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5573318?v=4","gravatar_id":"","url":"https://api.github.com/users/mattperich","html_url":"https://github.com/mattperich","followers_url":"https://api.github.com/users/mattperich/followers","following_url":"https://api.github.com/users/mattperich/following{/other_user}","gists_url":"https://api.github.com/users/mattperich/gists{/gist_id}","starred_url":"https://api.github.com/users/mattperich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattperich/subscriptions","organizations_url":"https://api.github.com/users/mattperich/orgs","repos_url":"https://api.github.com/users/mattperich/repos","events_url":"https://api.github.com/users/mattperich/events{/privacy}","received_events_url":"https://api.github.com/users/mattperich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-22T01:30:31Z","updated_at":"2018-08-20T15:08:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Basically, if you re-bin with truncateAndBin AFTER dupeAndShift, everything is screwed up. Will need to add a section to truncateAndBin that looks for _shift fields and rebins them accordingly (if that makes sense... otherwise, just automatically deletes the field and calls dupeAndShift again with the rebinned data)."},"comment":{"url":"https://api.github.com/repos/limblab/TrialData/issues/comments/414350892","html_url":"https://github.com/limblab/TrialData/issues/2#issuecomment-414350892","issue_url":"https://api.github.com/repos/limblab/TrialData/issues/2","id":414350892,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDM1MDg5Mg==","user":{"login":"mattperich","id":5573318,"node_id":"MDQ6VXNlcjU1NzMzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/5573318?v=4","gravatar_id":"","url":"https://api.github.com/users/mattperich","html_url":"https://github.com/mattperich","followers_url":"https://api.github.com/users/mattperich/followers","following_url":"https://api.github.com/users/mattperich/following{/other_user}","gists_url":"https://api.github.com/users/mattperich/gists{/gist_id}","starred_url":"https://api.github.com/users/mattperich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattperich/subscriptions","organizations_url":"https://api.github.com/users/mattperich/orgs","repos_url":"https://api.github.com/users/mattperich/repos","events_url":"https://api.github.com/users/mattperich/events{/privacy}","received_events_url":"https://api.github.com/users/mattperich/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T15:08:36Z","updated_at":"2018-08-20T15:08:36Z","author_association":"CONTRIBUTOR","body":"As far as I've seen, binTD/trimTD and dupeAndShift work well together in any order. However, just to note, remember that you lose bins of time when you dupeAndShift due to the non-overlapping segments so it's often best to dupeAndShift before the final trimTD call.\r\n\r\nI am closing this issue now."}}
{"actor":{"display_login":"mattperich"}}