You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried this (with both capital R and capital P and lower case r and p) and with and without the kexec):
from retropath2_wrapper import retropath2
import knime
kexec='/usr/local/lib/python3.10/dist-packages/knime/bin/knime'
Hi, I am trying to run Retropath2 on colab.
I have tried this (with both capital R and capital P and lower case r and p) and with and without the kexec):
from retropath2_wrapper import retropath2
import knime
kexec='/usr/local/lib/python3.10/dist-packages/knime/bin/knime'
Create an instance of the RetroPath2 class
r_code = retropath2(
sink_file='/content/sample_data/sink.csv',
source_file='/content/sample_data/source.csv',
rules_file='/content/sample_data/rules.csv',
outdir='/content/sample_data/out',
max_steps=3,
topx=100,
dmin=0,
dmax=100,
mwmax_source=1000,
kexec='/usr/local/lib/python3.10/dist-packages/knime/bin/knime'
)
and got this: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
in <cell line: 6>()
4
5 # Create an instance of the RetroPath2 class
----> 6 r_code = retropath2(
7 sink_file='/content/sample_data/sink.csv',
8 source_file='/content/sample_data/source.csv',
TypeError: 'module' object is not callable_
Any ideas on what I can do would be greatly appreciated!! Thank you!!
-th
The text was updated successfully, but these errors were encountered: