Skip to content

Request for adding TopAnat tool to IUC: please review - #8218

Open
fbastian wants to merge 16 commits into
galaxyproject:mainfrom
BgeeDB:main
Open

Request for adding TopAnat tool to IUC: please review#8218
fbastian wants to merge 16 commits into
galaxyproject:mainfrom
BgeeDB:main

Conversation

@fbastian

Copy link
Copy Markdown

FOR CONTRIBUTOR:

  • I have read the CONTRIBUTING.md document and this tool is appropriate for the tools-iuc repo.
  • Use of AI
    • The contribution is mostly AI generated
    • The contribution has been assisted by AI
  • License permits unrestricted use (educational + commercial)
  • This PR adds a new tool or tool collection
  • This PR updates an existing tool or tool collection
  • This PR does something else (explain below)

There are two labels that allow to ignore specific (false positive) tool linter errors:

  • skip-version-check: Use it if only a subset of the tools has been updated in a suite.
  • skip-url-check: Use it if github CI sees 403 errors, but the URLs work.

To request a review once your PR is ready, comment "please review" on the PR. This will
automatically apply the ready-for-review label if the PR is not a draft, all review
threads are resolved, and all CI checks have passed.

@fbastian

Copy link
Copy Markdown
Author

Please review

@tools-iuc

tools-iuc Bot commented Jul 24, 2026

Copy link
Copy Markdown

⏳ Some CI checks are still running. Please wait for them to complete before requesting a review.

@fbastian
fbastian marked this pull request as draft July 24, 2026 12:56
Comment thread tools/topanat/topanat.xml
Comment thread tools/topanat/topanat.R Outdated
@fbastian

fbastian commented Jul 27, 2026

Copy link
Copy Markdown
Author

@bgruening Could you please add the skip-url-check label? It seems to be the cause of a check error, but apparently I can't modify labels.

@bgruening bgruening added the skip-url-check Allow IUC members to skip the URL linter in PR reviews. label Jul 27, 2026
@bgruening

Copy link
Copy Markdown
Member

Done.

@github-project-automation github-project-automation Bot moved this from Triage/Discuss to Blocked / Not Planned in Galaxy Tool Developers SIG Board Jul 28, 2026
@SaimMomin12 SaimMomin12 reopened this Jul 28, 2026
@github-project-automation github-project-automation Bot moved this from Blocked / Not Planned to In progress in Galaxy Tool Developers SIG Board Jul 28, 2026
@fbastian
fbastian marked this pull request as ready for review July 29, 2026 14:14
@fbastian

Copy link
Copy Markdown
Author

please review

@tools-iuc tools-iuc Bot moved this from In progress to Needs Review in Galaxy Tool Developers SIG Board Jul 29, 2026
Comment thread tools/topanat/topanat.xml
Comment on lines +370 to +372
The species for which the analysis is performed. Must be provided in the format ``Genus_species``
(e.g. ``Homo_sapiens``, ``Mus_musculus``, ``Danio_rerio``). See the `Bgee website`_ for the full
list of supported species.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The species for which the analysis is performed. Must be provided in the format ``Genus_species``
(e.g. ``Homo_sapiens``, ``Mus_musculus``, ``Danio_rerio``). See the `Bgee website`_ for the full
list of supported species.
The species for which the analysis is performed.

@SaimMomin12 SaimMomin12 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fbastian for the PR. Some comments inline

Comment thread tools/topanat/.shed.yml
Comment on lines +4 to +5
- Statistics
- Single Cell

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Statistics
- Single Cell

Comment thread tools/topanat/topanat.xml
@@ -0,0 +1,456 @@
<tool id="topanat" name="TopAnat" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<tool id="topanat" name="TopAnat" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0">
<tool id="topanat" name="TopAnat" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">

Bump profile to 25.0

Comment thread tools/topanat/topanat.xml
<description>GO-like enrichment of anatomical terms and cell types mapped to genes by expression patterns</description>
<macros>
<token name="@TOOL_VERSION@">2.38.1</token>
<token name="@VERSION_SUFFIX@">0</token>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<token name="@VERSION_SUFFIX@">0</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">25.0</token>

Comment thread tools/topanat/topanat.xml
cat(paste("Time taken:", time_taken, "seconds\n"))
]]></configfile>
</configfiles>
<inputs>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do planemo format topanat.xml?

Comment thread tools/topanat/topanat.xml
<param name="fg_file"
argument="--fgFile"
type="data"
format="tabular,txt"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
format="tabular,txt"
format="tabular"

arash77 added a commit to arash77/tools-iuc that referenced this pull request Aug 5, 2026
The lint job resolved the PR via an associated-PR lookup
(sharesight/find-github-pull-request, then 8BitJonny/gh-get-current-pr).
That endpoint omits open PRs whose head commit is reachable from the
queried repo's default branch, and the action queries the fork rather
than the base repo on pull_request events. Two of the 25 open PRs
sampled hit this today (galaxyproject#8279, galaxyproject#8218) and both carry skip labels: the
step was gated off, EXTRA_SKIP was never written, and planemo linted
URLs anyway with no indication the label had been ignored.

On pull_request the PR number is in the event payload, so query it
directly. This drops the third-party action from the fork-facing path
entirely and restores exact label matching over a JSON array, which a
label containing a comma could previously spoof.

The labels are fetched at run time rather than read from the payload,
so applying a label after a failed run and re-running now works;
pull_request does not fire on 'labeled', so payload labels would be
stale on re-run.

Direct pushes to the default branch skip the step and lint with full
checks, replacing the failIfNotFound abort.

Also add explicit least-privilege permissions to both jobs, and fall
back to github.token in deploy-report: an explicitly empty token
overrides create-or-update-comment's own github.token default, so
repos without secrets.PAT failed there.

Refs: bgruening/galaxytools#1944
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review skip-url-check Allow IUC members to skip the URL linter in PR reviews.

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

4 participants