thpar / diffany

Diffany is an open-source toolbox for calculating and visualizing differential networks.
7 stars 2 forks source link

Division by zero #224

Closed diffany-admin closed 9 years ago

diffany-admin commented 9 years ago

Issue by tvparys Wed Nov 19 15:35:46 2014


Upon running the algorithm on any of the examples. Default settings.

java.lang.ArithmeticException: / by zero

diffany-admin commented 9 years ago

Comment by svlandeg Wed Nov 19 15:38:54 2014


Is this coming from the Task bar? Because the examples run just fine in commandline mode, and the JUnits as well (after pulling your commits)

diffany-admin commented 9 years ago

Comment by tvparys Wed Nov 19 15:40:09 2014


Error appears in Cytoscape dialog and on the Cytoscape stack trace

diffany-admin commented 9 years ago

Comment by svlandeg Wed Nov 19 15:40:27 2014


For instance: a progress of "1" could be specified for a total of "500" ticks. If you transfer that, you might end up with a 0% somewhere or something?

diffany-admin commented 9 years ago

Comment by tvparys Wed Nov 19 15:41:51 2014


Cytoscape 3.1.1> java.lang.ArithmeticException: / by zero
        at be.svlandeg.diffany.core.algorithms.NetworkCleaning.removeRedundantEdges(NetworkCleaning.java:173)
        at be.svlandeg.diffany.core.algorithms.NetworkCleaning.fullCleaning(NetworkCleaning.java:95)
        at be.svlandeg.diffany.core.algorithms.NetworkCleaning.fullInputRefCleaning(NetworkCleaning.java:336)
        at be.svlandeg.diffany.core.project.Project.addRunConfiguration(Project.java:171)
        at be.svlandeg.diffany.cytoscape.CyProject.generateRunConfiguration(CyProject.java:179)
        at be.svlandeg.diffany.cytoscape.tasks.RunProjectTask.runAlgorithm(RunProjectTask.java:74)
        at be.svlandeg.diffany.cytoscape.tasks.RunProjectTask.run(RunProjectTask.java:61)
        at org.cytoscape.work.internal.task.JDialogTaskManager$TaskRunnable.innerRun(JDialogTaskManager.java:321)
        at org.cytoscape.work.internal.task.JDialogTaskManager$TaskRunnable.run(JDialogTaskManager.java:350)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
diffany-admin commented 9 years ago

Comment by svlandeg Wed Nov 19 15:55:02 2014


could you try again after pulling the latest commit?

diffany-admin commented 9 years ago

Comment by tvparys Wed Nov 19 16:03:24 2014


java.lang.IllegalArgumentException: Can not report more progress than what was scheduled!

diffany-admin commented 9 years ago

Comment by svlandeg Thu Nov 20 08:20:45 2014


@tvparys: I think it's fixed, but I will leave this issue open until you can confirm :-)

diffany-admin commented 9 years ago

Comment by tvparys Thu Nov 20 11:07:48 2014


:100: