{"action":"created","issue":{"url":"https://api.github.com/repos/psi4/psi4/issues/1192","repository_url":"https://api.github.com/repos/psi4/psi4","labels_url":"https://api.github.com/repos/psi4/psi4/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/psi4/psi4/issues/1192/comments","events_url":"https://api.github.com/repos/psi4/psi4/issues/1192/events","html_url":"https://github.com/psi4/psi4/pull/1192","id":355218008,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNzk3Njc4","number":1192,"title":"fmt: clang-format the code in psi4/src","user":{"login":"andysim","id":201881,"node_id":"MDQ6VXNlcjIwMTg4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/201881?v=4","gravatar_id":"","url":"https://api.github.com/users/andysim","html_url":"https://github.com/andysim","followers_url":"https://api.github.com/users/andysim/followers","following_url":"https://api.github.com/users/andysim/following{/other_user}","gists_url":"https://api.github.com/users/andysim/gists{/gist_id}","starred_url":"https://api.github.com/users/andysim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andysim/subscriptions","organizations_url":"https://api.github.com/users/andysim/orgs","repos_url":"https://api.github.com/users/andysim/repos","events_url":"https://api.github.com/users/andysim/events{/privacy}","received_events_url":"https://api.github.com/users/andysim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T15:34:46Z","updated_at":"2018-08-29T18:42:22Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/psi4/psi4/pulls/1192","html_url":"https://github.com/psi4/psi4/pull/1192","diff_url":"https://github.com/psi4/psi4/pull/1192.diff","patch_url":"https://github.com/psi4/psi4/pull/1192.patch"},"body":"## Description\r\nclang-format the code in psi4/src\r\n\r\n## Questions\r\n- [ ] If merging this PR will hinder your research b/c you have local edits, protest here or in #1144\r\n\r\nN.B. Pay particular attention to `read_options.cc`, which I formatted manually to preserve docstring formatting.\r\n\r\n## Status\r\n- [x] Ready for review\r\n- [x] Ready for merge\r\n"},"comment":{"url":"https://api.github.com/repos/psi4/psi4/issues/comments/417061812","html_url":"https://github.com/psi4/psi4/pull/1192#issuecomment-417061812","issue_url":"https://api.github.com/repos/psi4/psi4/issues/1192","id":417061812,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzA2MTgxMg==","user":{"login":"loriab","id":2314730,"node_id":"MDQ6VXNlcjIzMTQ3MzA=","avatar_url":"https://avatars0.githubusercontent.com/u/2314730?v=4","gravatar_id":"","url":"https://api.github.com/users/loriab","html_url":"https://github.com/loriab","followers_url":"https://api.github.com/users/loriab/followers","following_url":"https://api.github.com/users/loriab/following{/other_user}","gists_url":"https://api.github.com/users/loriab/gists{/gist_id}","starred_url":"https://api.github.com/users/loriab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loriab/subscriptions","organizations_url":"https://api.github.com/users/loriab/orgs","repos_url":"https://api.github.com/users/loriab/repos","events_url":"https://api.github.com/users/loriab/events{/privacy}","received_events_url":"https://api.github.com/users/loriab/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T18:42:22Z","updated_at":"2018-08-29T18:42:22Z","author_association":"MEMBER","body":"Ambitious to hand-format read_options :-)\r\n\r\nWhat's wrong with the c-f of it, though? I can see that things like the below might need adjustment, but at a glance, it looked pretty respectful. line-break formatting isn't conveyed to the manual anyways.\r\n\r\n```\r\n        options.add_str(\"CFOUR_BASIS\", \"SPECIAL\",\r\n                        \"STO-3G 3-21G 4-31G 6-31G 6-31G* 6-31G** 6-311G 6-311G* 6-311G** DZ DZP TZ TZP TZ2P PVDZ PVTZ \"\r\n                        \"PVQZ PV5Z PV6Z PCVDZ PCVTZ PCVQZ PCV5Z PCV6Z AUG-PVDZ AUG-PVTZ AUG-PVTZ AUG-PVQZ AUG-PV5Z \"\r\n                        \"AUG-PV6Z D-AUG-PVDZ D-AUG-PVTZ D-AUG-PVQZ D-AUG-PV5Z D-AUG-PV6Z cc-pVDZ cc-pVTZ cc-pVQZ \"\r\n                        \"cc-pV5Z cc-pV6Z cc-pCVDZ cc-pCVTZ cc-pCVQZ cc-pCV5Z cc-pCV6Z PWCVDZ PWCVTZ PWCVQZ PWCV5Z \"\r\n                        \"PWCV6Z PwCVDZ PwCVTZ PwCVQZ PwCV5Z PwCV6Z svp dzp tzp tzp2p qz2p pz3d2f 13s9p4d3f WMR ANO0 \"\r\n                        \"ANO1 ANO2 EVEN_TEMPERED SPECIAL\");\r\n```\r\n\r\n```\r\n    if (name == \"FINDIF\" || options.read_globals()) {\r\n        /*- MODULEDESCRIPTION Performs finite difference computations of energy derivative, with respect to nuclear\r\n           displacements\r\n            for geometry optimizations and vibrational frequency analyses, where the required analytical derivatives are\r\n           not\r\n            available. -*/\r\n```\r\n"}}
{"actor":{"display_login":"loriab"}}