{"action":"closed","issue":{"url":"https://api.github.com/repos/Synbiota/GENtle2/issues/234","labels_url":"https://api.github.com/repos/Synbiota/GENtle2/issues/234/labels{/name}","comments_url":"https://api.github.com/repos/Synbiota/GENtle2/issues/234/comments","events_url":"https://api.github.com/repos/Synbiota/GENtle2/issues/234/events","html_url":"https://github.com/Synbiota/GENtle2/issues/234","id":99217185,"number":234,"title":"Instantiating a valid WipRdpAbstractSequence model logs an error","user":{"login":"AJamesPhillips","id":526509,"avatar_url":"https://avatars.githubusercontent.com/u/526509?v=3","gravatar_id":"","url":"https://api.github.com/users/AJamesPhillips","html_url":"https://github.com/AJamesPhillips","followers_url":"https://api.github.com/users/AJamesPhillips/followers","following_url":"https://api.github.com/users/AJamesPhillips/following{/other_user}","gists_url":"https://api.github.com/users/AJamesPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/AJamesPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJamesPhillips/subscriptions","organizations_url":"https://api.github.com/users/AJamesPhillips/orgs","repos_url":"https://api.github.com/users/AJamesPhillips/repos","events_url":"https://api.github.com/users/AJamesPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/AJamesPhillips/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"AJamesPhillips","id":526509,"avatar_url":"https://avatars.githubusercontent.com/u/526509?v=3","gravatar_id":"","url":"https://api.github.com/users/AJamesPhillips","html_url":"https://github.com/AJamesPhillips","followers_url":"https://api.github.com/users/AJamesPhillips/followers","following_url":"https://api.github.com/users/AJamesPhillips/following{/other_user}","gists_url":"https://api.github.com/users/AJamesPhillips/gists{/gist_id}","starred_url":"https://api.github.com/users/AJamesPhillips/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJamesPhillips/subscriptions","organizations_url":"https://api.github.com/users/AJamesPhillips/orgs","repos_url":"https://api.github.com/users/AJamesPhillips/repos","events_url":"https://api.github.com/users/AJamesPhillips/events{/privacy}","received_events_url":"https://api.github.com/users/AJamesPhillips/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-08-05T14:29:19Z","updated_at":"2015-08-06T18:31:19Z","closed_at":"2015-08-06T18:31:19Z","body":"Error:  `[\"partType \"CDS\" is invalid for this sequenceModel\"]`\r\n\r\nThis is because the `availablePartTypes` method: https://github.com/Synbiota/GENtle2/blob/develop/public/scripts/library/rdp/wip_rdp_abstract_sequence.js#L33-L35 used by `validateFields` method: https://github.com/Synbiota/GENtle2/blob/develop/public/scripts/library/rdp/wip_rdp_abstract_sequence.js#L23-L31  does not yet have `this.types` set and `validate` method (and `validateFields` method) is run in instantiation: https://github.com/Synbiota/GENtle2/blob/develop/public/scripts/library/sequence-model/factory.js#L113 before `this.types` is set in the `WipRdpAbstractSequence` subclass: https://github.com/Synbiota/GENtle2/blob/develop/public/scripts/library/rdp/wip_rdp_abstract_sequence.js#L20\r\n"}}