`--FZ $$acceleration_huristics.FZ` rendered as `--FZ $125.0`, which
the shell expands to `--FZ 25.0`, so the chosen search space size was
never passed. Drop the extra `$`.
Replace the Python 2 `<>` operator in the --smxsize/--mxsize checks
with `!=`. They only worked through Galaxy's Python 2 template
compatibility path, since the tool has no profile.
Add a test that sets --FZ, --mxsize and --smxsize and checks the
command line. Bump the shared VERSION_SUFFIX to 1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
FOR CONTRIBUTOR:
Two bugs in the
cmscancommand template:--FZ $$acceleration_huristics.FZrendered as--FZ $125.0. The shell expands$1(empty), so cmscan got--FZ 25.0instead of the chosen value. It is now--FZ $acceleration_huristics.FZ, still only inside theFZbranch of the acceleration conditional.#if $other_opts.smxsize <> 128.0and#if $other_opts.mxsize <> 128.0used Python 2's<>operator. They only work because the tool has noprofile, so Galaxy compiles the template through its Python 2 compatibility path. As plain Python 3 Cheetah the template doesn't compile. Both are now!=.VERSION_SUFFIXinmacros.xmlgoes from 0 to 1, so all six infernal tools become1.1.5+galaxy1and the shed version check passes without askip-version-checklabel. Only cmscan's behaviour changes.Testing:
--FZ 500and non-default--mxsize/--smxsize, and checks the command line withassert_command.planemo test --biocontainersoncmscan.xmlagainst Galaxyrelease_26.1, the same Galaxy branch and container options CI uses: all 3 tests pass. The new test's command line contains--FZ 500.0 --mxsize 256.0 --smxsize 256.0.planemo lint: no new warnings. The existingDatatypesCustomConfwarning is the same as onmaster.masterit fails with aSyntaxError.Possible follow-ups, not changed here:
--tblout '\$temp_tabular_output'writes to a file literally named$temp_tabular_output, not to themktemppath. It works because the latertailreads the same literal name, but themktempcall does nothing.--acykhastruevalue="--cyk", so the "Use the CYK algorithm to align hits" option passes--cyk, not--acyk.cmsearch.xmlhas the same--FZ $$acceleration_huristics.FZbug.🤖 Generated with Claude Code