Title: Cannot create op from signature with raw op type · Issue #220 · scijava/scijava · GitHub
Open Graph Title: Cannot create op from signature with raw op type · Issue #220 · scijava/scijava
X Title: Cannot create op from signature with raw op type · Issue #220 · scijava/scijava
Description: In [97]: from net.imglib2.outofbounds import OutOfBoundsFactory In [98]: c = env.op("filter.gauss").inType(Img, Double.TYPE, OutOfBoundsFactory).outType(Img).computer() In [99]: c Out[99]: Open Graph Description: In [97]: from net.imglib2.outofbounds import OutOfBoundsFactory In [98]: c = env.op("filter.gauss").inType(Img, Double.TYPE, OutOfBoundsFactory).outType(Img).computer() In [99]: c Out[99]: X Description: In [97]: from net.imglib2.outofbounds import OutOfBoundsFactory In [98]: c = env.op("filter.gauss").inType(Img, Double.TYPE, OutOfBoundsFactory).outType(Img).computer() In [99]: c Out[99]...
Opengraph URL: https://github.com/scijava/scijava/issues/220
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot create op from signature with raw op type","articleBody":"```python\r\nIn [97]: from net.imglib2.outofbounds import OutOfBoundsFactory\r\n\r\nIn [98]: c = env.op(\"filter.gauss\").inType(Img, Double.TYPE, OutOfBoundsFactory).outType(Img).computer()\r\n\r\nIn [99]: c\r\nOut[99]: \u003cjava object 'org.scijava.ops.engine.matcher.impl.OpWrappers$Computer3OpWrapper$1GenericTypedComputer3'\u003e\r\n\r\nIn [100]: c.infoTree().toString()\r\nOut[100]: 'org.scijava.ops.image.filter.gauss.Gaussians.gaussRAISingleSigma(net.imglib2.RandomAccessibleInterval\u003cI\u003e,double,net.imglib2.outofbounds.OutOfBoundsFactory\u003cI, net.imglib2.RandomAccessibleInterval\u003cI\u003e\u003e,net.imglib2.RandomAccessibleInterval\u003cO\u003e)'\r\n\r\nIn [101]: sig = Ops.signature(c)\r\n\r\nIn [102]: sig\r\nOut[102]: '|Info:org.scijava.ops.image.filter.gauss.Gaussians.gaussRAISingleSigma(net.imglib2.RandomAccessibleInterval\u003cI\u003e,double,net.imglib2.outofbounds.OutOfBoundsFactory\u003cI, net.imglib2.RandomAccessibleInterval\u003cI\u003e\u003e,net.imglib2.RandomAccessibleInterval\u003cO\u003e)@0-SNAPSHOT{}'\r\n\r\nIn [104]: try:\r\n ...: o = env.opFromSignature(sig, Nil.of(Computers.Arity3))\r\n ...: except Exception as e:\r\n ...: from scyjava import jstacktrace\r\n ...: print(jstacktrace(e))\r\n ...:\r\njava.lang.IllegalArgumentException: TODO\r\n\tat org.scijava.ops.engine.impl.DefaultOpEnvironment.opFromInfoChain(DefaultOpEnvironment.java:225)\r\n\tat org.scijava.ops.api.OpEnvironment.opFromInfoChain(OpEnvironment.java:165)\r\n\tat org.scijava.ops.api.OpEnvironment.opFromSignature(OpEnvironment.java:182)\r\n```","author":{"url":"https://github.com/ctrueden","@type":"Person","name":"ctrueden"},"datePublished":"2024-05-16T15:36:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/220/scijava/issues/220"}
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:2b80e8dc-3acf-d314-b354-e9acebd0557c current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id EBEE:22EDB8:2B5B350:3921ADE:696B2F44 html-safe-nonce 9d7b9e34c8cfb0ba3630f0ebd4cc6002f8e26c986b9e373f6b40219b7e1c52c2 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkVFOjIyRURCODoyQjVCMzUwOjM5MjFBREU6Njk2QjJGNDQiLCJ2aXNpdG9yX2lkIjoiNDE0MTc4MTg3MzIwMzAzMTg3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 4aa10d7ce6ab3de111de16f06ab2865012de84217b5fb61c1052ace8ef2ed79e hovercard-subject-tag issue:2300736116 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/scijava/scijava/220/issue_layout twitter:image https://opengraph.githubassets.com/0d9f423d2eab05b2110c7a9714a1b4b7ac566ab04d34d0cc8b681768f1404a7e/scijava/scijava/issues/220 twitter:card summary_large_image og:image https://opengraph.githubassets.com/0d9f423d2eab05b2110c7a9714a1b4b7ac566ab04d34d0cc8b681768f1404a7e/scijava/scijava/issues/220 og:image:alt In [97]: from net.imglib2.outofbounds import OutOfBoundsFactory In [98]: c = env.op("filter.gauss").inType(Img, Double.TYPE, OutOfBoundsFactory).outType(Img).computer() In [99]: c Out[99]: og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username ctrueden hostname github.com expected-hostname github.com None 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d turbo-cache-control no-preview go-import github.com/scijava/scijava git https://github.com/scijava/scijava.git octolytics-dimension-user_id 1262770 octolytics-dimension-user_login scijava octolytics-dimension-repository_id 85618439 octolytics-dimension-repository_nwo scijava/scijava octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 85618439 octolytics-dimension-repository_network_root_nwo scijava/scijava 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 82560a55c6b2054555076f46e683151ee28a19bc ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.