mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
GalaxyAppConfiguration materializes every schema option, so the hasattr/getattr guards around tool_configs, shed_tool_config_file, migrated_tools_config, root, tool_search_index_dir and use_lazy_toolbox were dead (StandaloneInstallationTarget's Config stub gains the use_lazy_toolbox attribute the real config carries). The tool_source_url getattr had no matching schema option — the default sqlalchemy store is now disk-path only; full URLs remain available via named tool_source_stores entries. getattr(entry, "source_path") was hiding a real gap: ToolIndexEntry never carried the field, so LazyTool.config_file always materialised. The populator now stamps source_path onto every entry. discover.py's duplicated _looks_like_a_tool is replaced by the real galaxy.tool_util.loader_directory.looks_like_a_tool (threading enable_beta_tool_formats), and the works-without-galaxy fallback for MODEL_TOOLS_PATH is gone — the populator always runs with galaxy importable.