From ebc32d224388b5893a69317529bcb5b76d004ecf Mon Sep 17 00:00:00 2001 From: Matthias Bernt Date: Sat, 18 May 2024 13:40:29 +0200 Subject: [PATCH] try --- lib/galaxy/tool_util/linters/datatypes.py | 4 ++-- lib/galaxy/tool_util/linters/datatypes_conf.xml.sample | 1 + packages/tool_util/MANIFEST.in | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 120000 lib/galaxy/tool_util/linters/datatypes_conf.xml.sample diff --git a/lib/galaxy/tool_util/linters/datatypes.py b/lib/galaxy/tool_util/linters/datatypes.py index b51fd5dee50c..5eb0a20e3885 100644 --- a/lib/galaxy/tool_util/linters/datatypes.py +++ b/lib/galaxy/tool_util/linters/datatypes.py @@ -15,8 +15,8 @@ from galaxy.tool_util.lint import LintContext from galaxy.tool_util.parser import ToolSource -# DATATYPES_CONF = os.path.join(os.path.dirname(config.__file__), "sample", "datatypes_conf.xml.sample") - +# DATATYPES_CONF = os.path.join(os.path.dirname(config.__file__), "sample", "'datatypes_conf.xml.sample") +DATATYPES_CONF = os.path.join(os.path.dirname(__file__), 'datatypes_conf.xml.sample') def _parse_datatypes(datatype_conf_path: str) -> Set[str]: datatypes = set() diff --git a/lib/galaxy/tool_util/linters/datatypes_conf.xml.sample b/lib/galaxy/tool_util/linters/datatypes_conf.xml.sample new file mode 120000 index 000000000000..6a8d2e103481 --- /dev/null +++ b/lib/galaxy/tool_util/linters/datatypes_conf.xml.sample @@ -0,0 +1 @@ +../../config/sample/datatypes_conf.xml.sample \ No newline at end of file diff --git a/packages/tool_util/MANIFEST.in b/packages/tool_util/MANIFEST.in index 496d970a6c3c..a60b960699b6 100644 --- a/packages/tool_util/MANIFEST.in +++ b/packages/tool_util/MANIFEST.in @@ -5,4 +5,4 @@ include galaxy/tool_util/toolbox/filters/*.sample include galaxy/tool_util/verify/test_config.sample.yml include galaxy/tool_util/xsd/* include galaxy/tool_util/ontologies/*tsv -include galaxy/config/sample/datatypes_conf.xml.sample \ No newline at end of file +include galaxy/tool_util/linters/datatypes_conf.xml.sample \ No newline at end of file