{"action":"created","issue":{"url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/40","repository_url":"https://api.github.com/repos/HISKP-LQCD/hadron","labels_url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/40/comments","events_url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/40/events","html_url":"https://github.com/HISKP-LQCD/hadron/pull/40","id":330691523,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNjM5NDk1","number":40,"title":"tex.catwitherror formatting fix for abs(err) > abs(x) ","user":{"login":"kostrzewa","id":1325246,"node_id":"MDQ6VXNlcjEzMjUyNDY=","avatar_url":"https://avatars1.githubusercontent.com/u/1325246?v=4","gravatar_id":"","url":"https://api.github.com/users/kostrzewa","html_url":"https://github.com/kostrzewa","followers_url":"https://api.github.com/users/kostrzewa/followers","following_url":"https://api.github.com/users/kostrzewa/following{/other_user}","gists_url":"https://api.github.com/users/kostrzewa/gists{/gist_id}","starred_url":"https://api.github.com/users/kostrzewa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostrzewa/subscriptions","organizations_url":"https://api.github.com/users/kostrzewa/orgs","repos_url":"https://api.github.com/users/kostrzewa/repos","events_url":"https://api.github.com/users/kostrzewa/events{/privacy}","received_events_url":"https://api.github.com/users/kostrzewa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-06-08T14:55:47Z","updated_at":"2018-06-11T16:33:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/HISKP-LQCD/hadron/pulls/40","html_url":"https://github.com/HISKP-LQCD/hadron/pull/40","diff_url":"https://github.com/HISKP-LQCD/hadron/pull/40.diff","patch_url":"https://github.com/HISKP-LQCD/hadron/pull/40.patch"},"body":"hopefully fix the formatting of errors which look ambiguous either because their size exceeds the value itself or because the value is shown with N digits while the error has N+x digits"},"comment":{"url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/comments/396305077","html_url":"https://github.com/HISKP-LQCD/hadron/pull/40#issuecomment-396305077","issue_url":"https://api.github.com/repos/HISKP-LQCD/hadron/issues/40","id":396305077,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjMwNTA3Nw==","user":{"login":"martin-ueding","id":976924,"node_id":"MDQ6VXNlcjk3NjkyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/976924?v=4","gravatar_id":"","url":"https://api.github.com/users/martin-ueding","html_url":"https://github.com/martin-ueding","followers_url":"https://api.github.com/users/martin-ueding/followers","following_url":"https://api.github.com/users/martin-ueding/following{/other_user}","gists_url":"https://api.github.com/users/martin-ueding/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-ueding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-ueding/subscriptions","organizations_url":"https://api.github.com/users/martin-ueding/orgs","repos_url":"https://api.github.com/users/martin-ueding/repos","events_url":"https://api.github.com/users/martin-ueding/events{/privacy}","received_events_url":"https://api.github.com/users/martin-ueding/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T16:33:31Z","updated_at":"2018-06-11T16:33:31Z","author_association":"CONTRIBUTOR","body":"These cases would look like this:\r\n\r\n```\r\n> format.val.err(175.3, 23.2, error.digits = 3)\r\n[1] \"175.3 +- 23.2\"\r\n> format.val.err(5.25, 2.50, error.digits = 3)\r\n[1] \"5.25 +- 2.50\"\r\n> format.val.err(0.21, 10.21, error.digits = 4)\r\n[1] \"0.21 +- 10.21\"\r\n```\r\n\r\nThe idea is that you can just plug in value and error and it will figure out how many significant digits to print. The `+-` syntax can be understand by the LaTeX package `siunitx` and depending on the settings it formats it as `175.3 ± 23.2` or `175.3(232)`.\r\n\r\nBut I think that you want the version in parentheses directly?"}}
{"actor":{"display_login":"martin-ueding"}}