mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Allow overriding datatypes for planemo lint
Allow overriding the datatypes_conf.xml.sample that's added by default by the Python galaxy-tool-util package for non-standard datatype support
This commit is contained in:
@@ -18,7 +18,7 @@ if TYPE_CHECKING:
|
||||
from galaxy.tool_util.parser import ToolSource
|
||||
from galaxy.util.resources import Traversable
|
||||
|
||||
DATATYPES_CONF = resource_path(__name__, "datatypes_conf.xml.sample")
|
||||
DATATYPES_CONF = os.getenv('DATATYPES_CONF', resource_path(__package__, "datatypes_conf.xml.sample"))
|
||||
|
||||
|
||||
def _parse_datatypes(datatype_conf_path: Union[str, "Traversable"]) -> Set[str]:
|
||||
|
||||
Reference in New Issue
Block a user