{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/207","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/207/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/207/events","html_url":"https://github.com/jupyter/nbconvert/issues/207","id":127984395,"number":207,"title":"--to notebook removes newline at end of file","user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jupyter/nbconvert/labels/sprint-friendly","name":"sprint-friendly","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/nbconvert/milestones/6","html_url":"https://github.com/jupyter/nbconvert/milestones/4.2","labels_url":"https://api.github.com/repos/jupyter/nbconvert/milestones/6/labels","id":1337993,"number":6,"title":"4.2","description":null,"creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":12,"state":"open","created_at":"2015-10-05T11:24:44Z","updated_at":"2016-01-22T11:00:30Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-21T18:04:49Z","updated_at":"2016-01-22T16:38:53Z","closed_at":null,"body":"When I run the following on a notebook:\r\n```\r\njupyter-nbconvert --ClearOutputPreprocessor.enabled=True --to notebook --inplace *.ipynb\r\n```\r\nit removes the newline after the last ``}``.\r\n\r\nThat is a bit of an inconvenience, since that changes all notebook files, even if they were cleared already.\r\nI'm running version 4.1.0\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments/173971686","html_url":"https://github.com/jupyter/nbconvert/issues/207#issuecomment-173971686","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/207","id":173971686,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T16:38:53Z","updated_at":"2016-01-22T16:38:53Z","body":"stupid question: shouldn't this be fixed in nbformat?"}}