straw() documentation & incompatible function arguments error

154 views
Skip to first unread message

Soren Kyhl

unread,
Nov 13, 2021, 9:30:47 AM11/13/21
to 3D Genomics
Hi,

I've been using straw to load in hic data for awhile but recently updated and can't seem to get things to work without an error. Whenever I try to invoke the straw.straw() function, I get the error: 

straw(): incompatible function arguments. The following argument types are supported: 1. (arg0: str, arg1: str, arg2: str, arg3: str, arg4: str, arg5: str, arg6: int) -> List[contactRecord] Invoked with: 'NONE', 'HIC001.hic', 'X', 'X', 'BP', 1000000

I've attached some screenshots, in case they help.
It seems as though the usage has changed recently and the pure python version is deprecated, but I'm seeing several different things on the documentation. Is there something I need to do differently to get past this error?

Thanks,
Soren Kyhl
Screen Shot 2021-11-13 at 9.12.05 AM.png
Screen Shot 2021-11-13 at 9.18.08 AM.png
Screen Shot 2021-11-13 at 9.07.37 AM.png

Muhammad Saad Shamim

unread,
Nov 14, 2021, 2:02:28 AM11/14/21
to Soren Kyhl, 3D Genomics
Apologies, I've updated the readme.
An additional parameter was added so that the observed/expected data can also be streamed.

Please let me know if there are any issues.

Best,


--
You received this message because you are subscribed to the Google Groups "3D Genomics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 3d-genomics...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/3d-genomics/76d79903-50eb-44fb-89af-139357868d4fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages