{"action":"created","issue":{"url":"https://api.github.com/repos/CRBS/cdeep3m/issues/49","repository_url":"https://api.github.com/repos/CRBS/cdeep3m","labels_url":"https://api.github.com/repos/CRBS/cdeep3m/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/CRBS/cdeep3m/issues/49/comments","events_url":"https://api.github.com/repos/CRBS/cdeep3m/issues/49/events","html_url":"https://github.com/CRBS/cdeep3m/issues/49","id":360423939,"node_id":"MDU6SXNzdWUzNjA0MjM5Mzk=","number":49,"title":"EnsemblePredictions.m fails when called by runprediction.sh if there is only 1 model","user":{"login":"coleslaw481","id":655940,"node_id":"MDQ6VXNlcjY1NTk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/655940?v=4","gravatar_id":"","url":"https://api.github.com/users/coleslaw481","html_url":"https://github.com/coleslaw481","followers_url":"https://api.github.com/users/coleslaw481/followers","following_url":"https://api.github.com/users/coleslaw481/following{/other_user}","gists_url":"https://api.github.com/users/coleslaw481/gists{/gist_id}","starred_url":"https://api.github.com/users/coleslaw481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleslaw481/subscriptions","organizations_url":"https://api.github.com/users/coleslaw481/orgs","repos_url":"https://api.github.com/users/coleslaw481/repos","events_url":"https://api.github.com/users/coleslaw481/events{/privacy}","received_events_url":"https://api.github.com/users/coleslaw481/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"coleslaw481","id":655940,"node_id":"MDQ6VXNlcjY1NTk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/655940?v=4","gravatar_id":"","url":"https://api.github.com/users/coleslaw481","html_url":"https://github.com/coleslaw481","followers_url":"https://api.github.com/users/coleslaw481/followers","following_url":"https://api.github.com/users/coleslaw481/following{/other_user}","gists_url":"https://api.github.com/users/coleslaw481/gists{/gist_id}","starred_url":"https://api.github.com/users/coleslaw481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleslaw481/subscriptions","organizations_url":"https://api.github.com/users/coleslaw481/orgs","repos_url":"https://api.github.com/users/coleslaw481/repos","events_url":"https://api.github.com/users/coleslaw481/events{/privacy}","received_events_url":"https://api.github.com/users/coleslaw481/received_events","type":"User","site_admin":false},"assignees":[{"login":"coleslaw481","id":655940,"node_id":"MDQ6VXNlcjY1NTk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/655940?v=4","gravatar_id":"","url":"https://api.github.com/users/coleslaw481","html_url":"https://github.com/coleslaw481","followers_url":"https://api.github.com/users/coleslaw481/followers","following_url":"https://api.github.com/users/coleslaw481/following{/other_user}","gists_url":"https://api.github.com/users/coleslaw481/gists{/gist_id}","starred_url":"https://api.github.com/users/coleslaw481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleslaw481/subscriptions","organizations_url":"https://api.github.com/users/coleslaw481/orgs","repos_url":"https://api.github.com/users/coleslaw481/repos","events_url":"https://api.github.com/users/coleslaw481/events{/privacy}","received_events_url":"https://api.github.com/users/coleslaw481/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CRBS/cdeep3m/milestones/4","html_url":"https://github.com/CRBS/cdeep3m/milestone/4","labels_url":"https://api.github.com/repos/CRBS/cdeep3m/milestones/4/labels","id":3655614,"node_id":"MDk6TWlsZXN0b25lMzY1NTYxNA==","number":4,"title":"1.5.0","description":"","creator":{"login":"coleslaw481","id":655940,"node_id":"MDQ6VXNlcjY1NTk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/655940?v=4","gravatar_id":"","url":"https://api.github.com/users/coleslaw481","html_url":"https://github.com/coleslaw481","followers_url":"https://api.github.com/users/coleslaw481/followers","following_url":"https://api.github.com/users/coleslaw481/following{/other_user}","gists_url":"https://api.github.com/users/coleslaw481/gists{/gist_id}","starred_url":"https://api.github.com/users/coleslaw481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleslaw481/subscriptions","organizations_url":"https://api.github.com/users/coleslaw481/orgs","repos_url":"https://api.github.com/users/coleslaw481/repos","events_url":"https://api.github.com/users/coleslaw481/events{/privacy}","received_events_url":"https://api.github.com/users/coleslaw481/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2018-09-14T19:16:58Z","updated_at":"2018-09-14T19:19:12Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-09-14T19:19:12Z","updated_at":"2018-09-14T19:27:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"if only 1 model is specified (ie --models 1fm) then EnsemblePredictions.m will fail when it is run cause it requires at least 2 models to merge the data. To fix this simply check the model count and if only 1 just make a symlink named ensembled and point it to the model directory where the images reside. "},"comment":{"url":"https://api.github.com/repos/CRBS/cdeep3m/issues/comments/421460622","html_url":"https://github.com/CRBS/cdeep3m/issues/49#issuecomment-421460622","issue_url":"https://api.github.com/repos/CRBS/cdeep3m/issues/49","id":421460622,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTQ2MDYyMg==","user":{"login":"coleslaw481","id":655940,"node_id":"MDQ6VXNlcjY1NTk0MA==","avatar_url":"https://avatars2.githubusercontent.com/u/655940?v=4","gravatar_id":"","url":"https://api.github.com/users/coleslaw481","html_url":"https://github.com/coleslaw481","followers_url":"https://api.github.com/users/coleslaw481/followers","following_url":"https://api.github.com/users/coleslaw481/following{/other_user}","gists_url":"https://api.github.com/users/coleslaw481/gists{/gist_id}","starred_url":"https://api.github.com/users/coleslaw481/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coleslaw481/subscriptions","organizations_url":"https://api.github.com/users/coleslaw481/orgs","repos_url":"https://api.github.com/users/coleslaw481/repos","events_url":"https://api.github.com/users/coleslaw481/events{/privacy}","received_events_url":"https://api.github.com/users/coleslaw481/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T19:27:11Z","updated_at":"2018-09-14T19:27:11Z","author_association":"CONTRIBUTOR","body":"Added `get_number_of_models()` function to `commonfunctions.sh` and modified `runprediction.sh` to use this function to determine if `EnsemblePredictions.m` should be called. If only 1 model is found then a symlink named ensembled is created and pointed to the model directory."}}
{"actor":{"display_login":"coleslaw481"}}