Skip to content

Commit

Permalink
add Galaxy-Tool-Metadata-Extractor-Test-Wrapper for the test (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep authored Mar 1, 2024
1 parent 8d1ce2f commit 58e1d64
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ The tools performs the following steps:
- Creates an interactive table for all tools: [All tools](https://galaxyproject.github.io/galaxy_tool_metadata_extractor/)
- Creates an interactive table for all registered communities, e.g. [microGalaxy](https://galaxyproject.github.io/galaxy_tool_metadata_extractor/microgalaxy/)



# Usage

## Prepare environment
Expand Down Expand Up @@ -103,8 +101,6 @@ The script will generate a TSV file with each tool found in the list of GitHub r
[--keep <Path to to-keep tool file category file>]
```
## Add your community
In order to add your community you need to:
Expand All @@ -115,3 +111,12 @@ In order to add your community you need to:
- Make a pull request to add your community.
- The workflow will run every sunday, so on the next monday, your community table should be added to `results/<your community name>`
## Development
To make a test run of the tool to check its functionalities follow [Usage](#Usage) to set-up the environnement and the API key, then run
```bash
bash ./bin/extract_all_tools_test.sh test.list
```

This runs the tool, but only parses the test repository [Galaxy-Tool-Metadata-Extractor-Test-Wrapper](https://github.com/paulzierep/Galaxy-Tool-Metadata-Extractor-Test-Wrapper)
4 changes: 2 additions & 2 deletions bin/extract_galaxy_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ def get_tool_github_repositories(g: Github, RepoSelection: Optional[str], run_te
:param g: GitHub instance
:param RepoSelection: The selection to use from the repository (needed to split the process for CI jobs)
:run_test: for CI testing only use one repository
:run_test: for testing only parse the repository
"""

if run_test:
return ["https://github.com/TGAC/earlham-galaxytools"]
return ["https://github.com/paulzierep/Galaxy-Tool-Metadata-Extractor-Test-Wrapper"]

repo = g.get_user("galaxyproject").get_repo("planemo-monitor")
repo_list: List[str] = []
Expand Down

0 comments on commit 58e1d64

Please sign in to comment.