Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not enough values to unpack (expected 5, got 1) #70

Open
wangzhaohui-001 opened this issue Mar 13, 2024 · 1 comment
Open

not enough values to unpack (expected 5, got 1) #70

wangzhaohui-001 opened this issue Mar 13, 2024 · 1 comment

Comments

@wangzhaohui-001
Copy link

Hello , i get below error
Reading the contact counts file to generate bins...
Traceback (most recent call last):
File "/home/ug1561/.conda/envs/py39/bin/fithic", line 10, in
sys.exit(main())
File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/fithic/fithic.py", line 317, in main
(mainDic,observedInterAllCount,observedInterAllSum,observedIntraAllSum,observedIntraInRangeSum) = read_Interactions(contactCountsFile, biasFile)
File "/home/ug1561/.conda/envs/py39/lib/python3.9/site-packages/fithic/fithic.py", line 413, in read_Interactions
ch1,mid1,ch2,mid2,contactCount=lines.split()
ValueError: not enough values to unpack (expected 5, got 1)

@aryakaul
Copy link
Collaborator

Hello,

The error indicates that your contact counts file is incorrectly formatted. Can you show the first 5 lines of the file? I suspect it is because they are not tab separated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants