{"action":"created","issue":{"url":"https://api.github.com/repos/MassBank/RMassBank/issues/114","labels_url":"https://api.github.com/repos/MassBank/RMassBank/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/MassBank/RMassBank/issues/114/comments","events_url":"https://api.github.com/repos/MassBank/RMassBank/issues/114/events","html_url":"https://github.com/MassBank/RMassBank/issues/114","id":63005452,"number":114,"title":"Fix mbWorkflow Step 1 error if absolutely no CAS numbers are present in Compound List","user":{"login":"schymane","id":4070141,"avatar_url":"https://avatars.githubusercontent.com/u/4070141?v=3","gravatar_id":"","url":"https://api.github.com/users/schymane","html_url":"https://github.com/schymane","followers_url":"https://api.github.com/users/schymane/followers","following_url":"https://api.github.com/users/schymane/following{/other_user}","gists_url":"https://api.github.com/users/schymane/gists{/gist_id}","starred_url":"https://api.github.com/users/schymane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schymane/subscriptions","organizations_url":"https://api.github.com/users/schymane/orgs","repos_url":"https://api.github.com/users/schymane/repos","events_url":"https://api.github.com/users/schymane/events{/privacy}","received_events_url":"https://api.github.com/users/schymane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T14:35:26Z","updated_at":"2015-03-23T10:28:22Z","closed_at":null,"body":"This is the error that shouldn't happen but does :-)\r\nIf the CAS column is present in the compound list, but empty for all substances, we get e.g.:\r\n>mb <- mbWorkflow(mb, infolist_path=infolist_path_csv_2)\r\n>mbWorkflow: Step 1. Gather info from CTS\r\n>101: smiles\r\n>401: smiles\r\n>403: smiles\r\n>Error in if (dbcas != \"\") { : missing value where TRUE/FALSE needed\r\n\r\nBut, if a CAS number is entered for any one of the substances in the list, it works fine. \r\nMore details in email sent to Erik today, 15:29."},"comment":{"url":"https://api.github.com/repos/MassBank/RMassBank/issues/comments/84935912","html_url":"https://github.com/MassBank/RMassBank/issues/114#issuecomment-84935912","issue_url":"https://api.github.com/repos/MassBank/RMassBank/issues/114","id":84935912,"user":{"login":"ermueller","id":602635,"avatar_url":"https://avatars.githubusercontent.com/u/602635?v=3","gravatar_id":"","url":"https://api.github.com/users/ermueller","html_url":"https://github.com/ermueller","followers_url":"https://api.github.com/users/ermueller/followers","following_url":"https://api.github.com/users/ermueller/following{/other_user}","gists_url":"https://api.github.com/users/ermueller/gists{/gist_id}","starred_url":"https://api.github.com/users/ermueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ermueller/subscriptions","organizations_url":"https://api.github.com/users/ermueller/orgs","repos_url":"https://api.github.com/users/ermueller/repos","events_url":"https://api.github.com/users/ermueller/events{/privacy}","received_events_url":"https://api.github.com/users/ermueller/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T10:28:22Z","updated_at":"2015-03-23T10:28:22Z","body":"Can you pull from my github branch bioc2014 to see if it works now? \r\nI fixed it, but I don't actually see why the error should turn up later in the workflow and not in the beginning. I can also build the package if you like."}}