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:
selten
2025-03-10 16:47:56 +01:00
committed by GitHub
parent 4b61d33d61
commit ebd5bad623
+1 -1
View File
@@ -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]: