Giter VIP home page Giter VIP logo

nodes4knime's Issues

review current code base

@sithmein, can you have a look at this too?

Checks needed:

  • is everything included to open this in Eclipse
  • does it compile
  • does it run in KNIME from within the SDK
  • does an export lead to proper installable product

KNIME 3.6 build tests failing

CdkTestConnectivity test workflow appears to be failing

Node 'SDF Reader 0:3' has unexpected warning message: Cannot access 'knime://knime.workflow/../CdkTestData/Connectivity.sdf%20': /var/lib/jenkins/jobs/org.openscience.cdk.knime.update-3.6/workspace/tmp/knime_temp/KNIME Testflow63081/Testflows/3.6/CDK/CdkTestConnectivity/../CdkTestData/Connectivity.sdf (No such file or directory)

Having issues loading the SDF from the relative directory.

regression in testflows.trunk.cDK.cdkTestConnectivity

junit.framework.AssertionFailedError: Node 'Table Difference Checker 0:41' is not executed. Error message is: Execute failed: Wrong value in row 'Row0' and column 'Molecule': expected '[Na+]', got '[C@H]1(C(N2[C@@]1(SC([C@@H]2C([O-])=O)(C)C)[H])=O)NC(=O)[C@@H](c3ccc(cc3)O)N.[Na+]' in line 1 (using checker 'Strings')
	at org.knime.testing.core.ng.WorkflowExecuteTest.checkExecutionStatus(WorkflowExecuteTest.java:218)
	at org.knime.testing.core.ng.WorkflowExecuteTest.run(WorkflowExecuteTest.java:170)
	at org.knime.testing.core.ng.WorkflowTestSuite.run(WorkflowTestSuite.java:238)
	at org.knime.testing.core.ng.WorkflowTestSuite.runTest(WorkflowTestSuite.java:305)
	at org.knime.testing.core.ng.TestflowRunnerApplication.runAllTests(TestflowRunnerApplication.java:254)
	at org.knime.testing.core.ng.TestflowRunnerApplication.access$1(TestflowRunnerApplication.java:227)
	at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:172)
	at org.knime.testing.core.ng.TestflowRunnerApplication$1.call(TestflowRunnerApplication.java:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Depiction node requires a column for atom highlights

The node dialog won't open unless a column compatible with the atom highlight/bond highlight is provided.

A user may not want highlighting and shouldn't be forced to provide this column.

This was an oversight when I wrote the node. I'll submit a pull request with an fix for this issue.

image

image

upgrade to CDK 2

This turns out to be a bit harder than expected, as it simultaneously needs updating of JChemPaint and AMBIT ...

KNIME 4.6 node build fails dependency checker

Raising here for visibility.

KNIME community builds now have OWASP dependency checker run against them and fail on critical security issues.

Legacy CDK fails on:

The KNIME plugin has a bundled jar for CDK 1.5.13 so it's not possible to simply replace the libs provided.

For the reaction decoder tool integration I updated the dependencies (CDK 2.4 -> 2.7) and then had to update some of the CDK dependencies to work around security issues.

I'll try submit a fix for this, will need to make sure CDK 1.5 tests pass with updated JENA deps

CAS input doesn't work in Structure Sketcher node

Hi,

I suppose the issue is with the URLs in the getMoleculeFromCAS(String cas) method in InsertTextPanel.java. As NCBI switched to HTTPS, this method now returns null. I could get the method working with the following changes:

Edit 1:
String firstURL = "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pccompound&term=" + cas;
(change to https)

Edit 2:
Pattern pattern = Pattern.compile("http://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi\\?cid=(\\d*)");
(change the regex string to https://pubchem.ncbi.nlm.nih.gov/compound/(\\d*))

Edit 3:
String secondURL = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?tool=jcppubchem&db=pccompound&id=" + cid;
(change to https)

Edit 4:
pattern = Pattern.compile("<Item Name=\"CanonicalSmile\" Type=\"String\">([^\\s]*?)</Item>");
(change CanonicalSmile to CanonicalSmiles)

Is it possible to release a new version of jchempaint-hotfix-3.4.jar? I would like to use the sketcher panel in the development of a new KNIME node.

Thank you,
Vishal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.