simonhmartin / twisst

Topology weighting by iterative sampling of sub-trees
GNU General Public License v3.0
72 stars 19 forks source link

How to set groups #28

Open 242652354 opened 2 years ago

242652354 commented 2 years ago

Traceback (most recent call last): File "/home/mole07/workspace/chongcexu/twisst/twisst.py", line 546, in assert len(args.group) >= 4, "Please specify at least four groups." AssertionError: Please specify at least four groups.

This is what I set up groups.tsv. HS5 A HS5 A HS5 A HS5 A XH1 B XH1 B XH1 B XH1 B JT10 C JT10 C JT10 C JT10 C DH1 D DH1 D DH1 D DH1 D I don't know what went wrong. Ask for help.

simonhmartin commented 2 years ago

I'm sorry I missed this question. I think the issue is that, in addition to providing the groups file, you need to provide the group names to use on the command line like -g A g B -g C -g D. Did you do that?