galaxyproject / galaxyproject/galaxy

[feature request] There seems to be no way to report a 'tool error' if that tool is apply rules

Open
#17,560 2 comments 1 reaction 1 assignee Claimed by @hujambo-dunia View on GitHub
area/backend area/tools area/UI-UX feature-request
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 23h
Merged PRs (30d)
158

Description

I'm getting a tool error, trying to apply some rules to a collection.

Rules

- Add column for identifier0.
- Add new column using I18-....-.. applied to column A
- Set column B as List Identifier(s)

applied to a collection with identifiers like `I18-1234-01.mrg.htseq.txt`

I don't think this is something I'm doing wrong, but I also don't have a good way to report this (unlike a tool failure). Perhaps these popups should also provide a button with which I can submit a bug report so the server admins can be made aware. "Contact the Galaxy Team", I'm not sure if this is the best phrasing or if that should say something server specific?

![image](https://github.com/galaxyproject/galaxy/assets/458683/8564bb53-7e89-41a4-b18c-5bb1073c91e6)

the error message in full in case any EU admins are reading this

```json
{
"history_id": "762f376116bacef6",
"tool_id": "__APPLY_RULES__",
"tool_version": "1.1.0",
"inputs": {
"input": {
"values": [
{
"id": "95dc09b0173e4daa",
"src": "hdca"
}
],
"batch": false
},
"rules": {
"rules": [
{
"type": "add_column_metadata",
"value": "identifier0",
"error": null,
"warn": null
},
{
"type": "add_column_regex",
"target_column": 0,
"expression": "I18-....-..",
"replacement": null,
"group_count": null,
"error": null,
"warn": null
}
],
"mapping": [
{
"type": "list_identifiers",
"columns": [
1
],
"editing": false
}
]
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.