seguid / seguid-javascript

SEGUID v2: Checksums for Linear, Circular, Single- and Double-Stranded Biological Sequences
https://www.seguid.org
MIT License
0 stars 1 forks source link

BUG: An empty alphabet should produce an error #17

Closed HenrikBengtsson closed 4 months ago

HenrikBengtsson commented 5 months ago
not ok 96  --type=lsseguid --alphabet='' <<< 'ACGT' (empty alphabet specification)
# (from function `assert_failure' in file test_helper/bats-assert/src/assert_failure.bash, line 66,
#  in test file 90.exceptions.bats, line 157)
#   `assert_failure' failed
# cli_call: [n=2] npx seguid
#
# -- command succeeded, but it was expected to fail --
# output : lsseguid=IQiZThf2zKn_I1KtqStlEdsHYDQ
# --

This was caught after adding more exception tests to seguid-tests.

HenrikBengtsson commented 4 months ago

@louisabraham, could you please look into to this and fix it?