Title: parsing CWL v1.0 & v1.1 · Issue #103 · common-workflow-language/cwljava · GitHub
Open Graph Title: parsing CWL v1.0 & v1.1 · Issue #103 · common-workflow-language/cwljava
X Title: parsing CWL v1.0 & v1.1 · Issue #103 · common-workflow-language/cwljava
Description: Recently, we integrated cwljava v1.0 into Dockstore, and during testing, we found some workflows that cause the parser to throw. In our webservice, we use our own preprocessor to combine the various component CWL files into one big CWL r...
Open Graph Description: Recently, we integrated cwljava v1.0 into Dockstore, and during testing, we found some workflows that cause the parser to throw. In our webservice, we use our own preprocessor to combine the variou...
X Description: Recently, we integrated cwljava v1.0 into Dockstore, and during testing, we found some workflows that cause the parser to throw. In our webservice, we use our own preprocessor to combine the variou...
Opengraph URL: https://github.com/common-workflow-language/cwljava/issues/103
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"parsing CWL v1.0 & v1.1","articleBody":"Recently, we integrated cwljava v1.0 into Dockstore, and during testing, we found some workflows that cause the parser to throw. In our webservice, we use our own preprocessor to combine the various component CWL files into one big CWL represented by Maps/Lists, and parse it with cwljava here:\r\nhttps://github.com/dockstore/dockstore/blob/67f4547e771864cafacdc1c92fa7bd47261e32da/dockstore-webservice/src/main/java/io/dockstore/webservice/languages/CWLHandler.java#L364\r\n\r\nThe following workflows cause `loadDocument` to throw a `ValidationException`:\r\n\r\nhttps://github.com/ICGC-TCGA-PanCancer/OxoG-Dockstore-Tools/tree/master\r\nprimary descriptor: /oxog_varbam_annotate_wf.cwl\r\n\r\nhttps://github.com/h3abionet/h3agatk/tree/1.0.1\r\nprimary descriptor: /workflows/GATK/GATK-complete-WES-Workflow-h3abionet.cwl\r\n\r\nThe first workflow contains a `SchemaDefRequirement` and the parser appears to have trouble parsing the type references (`TumourType.yaml#TumourType` etc). When I change the type references to `int`, the workflow successfully parses.\r\n\r\nJudging from exception message, the second workflow seems to be failing for a different reason, but I haven't pinpointed what, exactly. It is possible that it's not valid, but a cursory inspection didn't turn up any problems.\r\n\r\nThe exception messages are pretty big, so I put them and some stack trace info in the comments.\r\n\r\nPlease let me know if you need any more info. Thanks!\r\n","author":{"url":"https://github.com/svonworl","@type":"Person","name":"svonworl"},"datePublished":"2022-11-08T23:40:05Z","url":"https://github.com/common-workflow-language/cwljava/issues/103"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2559a69-b28a-8b9b-5473-8a51500da088 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC88:A9DCA:6C0950:98E8B7:6AFE1200 |
| html-safe-nonce | 38d60921c519f002a16f4eb049fca55cba6f4da16fce4f79abecfac53625186e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzg4OkE5RENBOjZDMDk1MDo5OEU4Qjc6NkFGRTEyMDAiLCJ2aXNpdG9yX2lkIjoiMjc1MjM0NzI5OTk5OTc4MTM3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6696abab88dd5aaa903be43f4fd31ca8e9039bfd3195101d17050195d8f92784 |
| hovercard-subject-tag | issue:1441074722 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/common-workflow-language/cwljava/103/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a641a57e12b8a7c70d586fa132fbe578ea62d83226d6975b29d51e8af2bedd5c/common-workflow-language/cwljava/issues/103 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a641a57e12b8a7c70d586fa132fbe578ea62d83226d6975b29d51e8af2bedd5c/common-workflow-language/cwljava/issues/103 |
| og:image:alt | Recently, we integrated cwljava v1.0 into Dockstore, and during testing, we found some workflows that cause the parser to throw. In our webservice, we use our own preprocessor to combine the variou... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | svonworl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3cd8a1d79ccbf9aecac62781f79072482a49047fb982b8c9e2ad4aca8bf6a9af |
| turbo-cache-control | no-preview |
| go-import | github.com/common-workflow-language/cwljava git https://github.com/common-workflow-language/cwljava.git |
| octolytics-dimension-user_id | 9947495 |
| octolytics-dimension-user_login | common-workflow-language |
| octolytics-dimension-repository_id | 48250517 |
| octolytics-dimension-repository_nwo | common-workflow-language/cwljava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 48250517 |
| octolytics-dimension-repository_network_root_nwo | common-workflow-language/cwljava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 05539640a34afe6142a519483d78ddd766a1304a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width