On our server the result is stable and correct, but I can reproduce the issue on my Mac where I get this:
maasha@mel:~$ uniq_seq -I $BP_DIR/bp_test/in/uniq_seq.in -c SEQ: ATGC
SEQ_LEN: 4
SEQ_COUNT: 3
---
maasha@mel:~$ uniq_seq -I $BP_DIR/bp_test/in/uniq_seq.in -c SEQ: GCAT
SEQ_LEN: 4
SEQ_COUNT: 3
---
So it is not a problem with the testing suite (which is in fact handling unstable key order).
So now I have inserted a sort in the code of uniq_seq and the output is now stable
maasha@mel:~/biopieces/bp_test$ uniq_seq -I $BP_DIR/bp_test/in/uniq_seq.in -c SEQ_LEN: 4
SEQ: GCAT
SEQ_COUNT: 3
---
maasha@mel:~/biopieces/bp_test$ uniq_seq -I $BP_DIR/bp_test/in/uniq_seq.in -c SEQ_COUNT: 3
SEQ: GCAT
SEQ_LEN: 4
---
And with this the problem should be fixed, since the testing suite is handling the key order.
bp_update && bp_test
Nasty issue - thanks for pointing it out.
Cheers
Martin