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

Unused tool parameters #4085

Open
35 of 59 tasks
bernt-matthias opened this issue Oct 18, 2021 · 0 comments
Open
35 of 59 tasks

Unused tool parameters #4085

bernt-matthias opened this issue Oct 18, 2021 · 0 comments

Comments

@bernt-matthias
Copy link
Contributor

bernt-matthias commented Oct 18, 2021

With galaxyproject/galaxy@fc264b1 the linter warns about parameters that are not used in the command (and configfiles, and other places). For debugging I verified almost all of them manually. I think many of them may qualify as paper cut.

In particular non_commercial_use:

  • add validator not allowing false
  • add exit 1 if not checked (otherwise linter would still complain)

So here is the list:

Done:

For my own reference: This is how the list was generated:

planemo ci_find_repos --exclude packages --exclude deprecated > repos.txt

while read line
do
echo $line; planemo lint --no_xsd -r -s output,tests,help,general,command,xml_order,citations,stdio $line
done < repos.txt > tests

grep "not found in command or configfiles" tests -B 2 | grep -v "Applying linter" | sed 's/.. WARNING: Param input \[/    - /; s/\].*//; s@Linting tool /home/berntm/projects/tools-iuc/@- [ ] @;' | grep -v '\-\-' | egrep -v "WARNING|ERROR"
This was referenced Nov 25, 2021
bernt-matthias added a commit to bernt-matthias/tools-iuc that referenced this issue Aug 22, 2022
bernt-matthias added a commit to bernt-matthias/tools-iuc that referenced this issue Jan 10, 2023
bgruening pushed a commit that referenced this issue Jan 10, 2023
* hiccorrectmatrix: is wrinting to input file

so we need to copy it

* skip from_workdir

* fix URLs

* workaround for a bug regarding parallel processing

that will be fixed in 3.7

* add missing options to CLI

see #4085

* more fixes:

- redundant name and argument
- 1 wrong parameter name in test
- 1 wrong option value and one missing option text

* fix duplicated output labels
pimarin pushed a commit to pimarin/tools-iuc that referenced this issue Feb 7, 2023
* hiccorrectmatrix: is wrinting to input file

so we need to copy it

* skip from_workdir

* fix URLs

* workaround for a bug regarding parallel processing

that will be fixed in 3.7

* add missing options to CLI

see galaxyproject#4085

* more fixes:

- redundant name and argument
- 1 wrong parameter name in test
- 1 wrong option value and one missing option text

* fix duplicated output labels
@bernt-matthias bernt-matthias mentioned this issue Jan 19, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant