{"action":"created","issue":{"url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/42","repository_url":"https://api.github.com/repos/INCATools/dosdp-tools","labels_url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/42/comments","events_url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/42/events","html_url":"https://github.com/INCATools/dosdp-tools/issues/42","id":303292402,"number":42,"title":"use defined_class label if it exists","user":{"login":"marieALaporte","id":5664149,"avatar_url":"https://avatars1.githubusercontent.com/u/5664149?v=4","gravatar_id":"","url":"https://api.github.com/users/marieALaporte","html_url":"https://github.com/marieALaporte","followers_url":"https://api.github.com/users/marieALaporte/followers","following_url":"https://api.github.com/users/marieALaporte/following{/other_user}","gists_url":"https://api.github.com/users/marieALaporte/gists{/gist_id}","starred_url":"https://api.github.com/users/marieALaporte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marieALaporte/subscriptions","organizations_url":"https://api.github.com/users/marieALaporte/orgs","repos_url":"https://api.github.com/users/marieALaporte/repos","events_url":"https://api.github.com/users/marieALaporte/events{/privacy}","received_events_url":"https://api.github.com/users/marieALaporte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-07T23:00:26Z","updated_at":"2018-03-15T18:44:43Z","closed_at":null,"author_association":"NONE","body":"Would it be possible that dosdp-tools does not overwrite the defined class label if the defined_class label is not empty in the tsv file.\r\nThe label could be created using the yaml file only if that colum is empty"},"comment":{"url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/comments/373482923","html_url":"https://github.com/INCATools/dosdp-tools/issues/42#issuecomment-373482923","issue_url":"https://api.github.com/repos/INCATools/dosdp-tools/issues/42","id":373482923,"user":{"login":"balhoff","id":210210,"avatar_url":"https://avatars1.githubusercontent.com/u/210210?v=4","gravatar_id":"","url":"https://api.github.com/users/balhoff","html_url":"https://github.com/balhoff","followers_url":"https://api.github.com/users/balhoff/followers","following_url":"https://api.github.com/users/balhoff/following{/other_user}","gists_url":"https://api.github.com/users/balhoff/gists{/gist_id}","starred_url":"https://api.github.com/users/balhoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balhoff/subscriptions","organizations_url":"https://api.github.com/users/balhoff/orgs","repos_url":"https://api.github.com/users/balhoff/repos","events_url":"https://api.github.com/users/balhoff/events{/privacy}","received_events_url":"https://api.github.com/users/balhoff/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T18:44:43Z","updated_at":"2018-03-15T18:44:43Z","author_association":"OWNER","body":"How about this extension to `printf_annotation` (see `override` at end):\r\n\r\n```yaml\r\nprintf_annotation:\r\n    type: object\r\n    additionalProperties: False\r\n    required: [annotationProperty, text]\r\n    properties:\r\n      annotationProperty:\r\n        description: > \r\n         A string corresponding to the rdfs:label\r\n         of an owl annotation property. If the annotation property has no label,\r\n         the shortForm ID should be used. The annotation property must be listed\r\n         in the annotation property dictionary.'\r\n        type: string\r\n      annotations:\r\n        items: { $ref: \"#/definitions/annotations\" } \r\n        type: array\r\n      text:\r\n        description: A print format string.\r\n        type: string\r\n      vars:\r\n        description: >\r\n         An ordered list of variables for substitution into the accompanying\r\n         print format string. Each entry must correspond to the name of a variable\r\n         specified in either the 'vars' field or the data_var field of the pattern.\r\n         Where an OWL entity is specified, the label for the OWL entity should be\r\n         used in the substitution.  An empty var list can be specified simply by\r\n         leaving this field out.\r\n        items: {type: string}\r\n        type: array\r\n      override:\r\n        description: >\r\n          An input column name which, if not empty, directly provides a value for this \r\n          annotation, overriding the computed value.\r\n        type: string\r\n```\r\n\r\nThen for OBO fields there can be some built-in overrides. For example, `name` automatically uses an `override` value of `defined_class_label`."}}
{"actor":{"display_login":"balhoff"}}