galaxyproject / galaxyproject/planemo

linter doesn't care about value type inconsistency

Open
#933 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
110
Forks
102
Avg merge
4d 21h
Merged PRs (30d)
13

Description

I get an error during galaxy load but the linter passes.

``

Here should be __float__ instead of __int__.

``

Here is the traceback:
```Traceback (most recent call last):
File "lib/galaxy/tools/toolbox/base.py", line 581, in _load_tool_tag_set
tool = self.load_tool(concrete_path, use_cached=False)
File "lib/galaxy/tools/toolbox/base.py", line 754, in load_tool
tool = self.create_tool(config_file=config_file, tool_shed_repository=tool_shed_repository, guid=guid, **kwds)
File "lib/galaxy/tools/__init__.py", line 273, in create_tool
return self._create_tool_from_source(tool_source, config_file=config_file, **kwds)
File "lib/galaxy/tools/__init__.py", line 276, in _create_tool_from_source
return create_tool_from_source(self.app, tool_source, **kwds)
File "lib/galaxy/tools/__init__.py", line 221, in create_tool_from_source
tool = ToolClass(config_file, tool_source, app, **kwds)
File "lib/galaxy/tools/__init__.py", line 449, in __init__
raise e
ValueError: An integer is required```

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.