Spaces:
Sleeping
Sleeping
Update biopython/mcp_output/start_mcp.py
Browse files
biopython/mcp_output/start_mcp.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
"""
|
| 2 |
MCP Service Startup Entry
|
| 3 |
"""
|
|
@@ -9,11 +10,6 @@ mcp_plugin_dir = os.path.join(project_root, "mcp_plugin")
|
|
| 9 |
if mcp_plugin_dir not in sys.path:
|
| 10 |
sys.path.insert(0, mcp_plugin_dir)
|
| 11 |
|
| 12 |
-
# Set path to source directory
|
| 13 |
-
source_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "source")
|
| 14 |
-
if source_path not in sys.path:
|
| 15 |
-
sys.path.insert(0, source_path)
|
| 16 |
-
|
| 17 |
from mcp_service import create_app
|
| 18 |
|
| 19 |
def main():
|
|
|
|
| 1 |
+
|
| 2 |
"""
|
| 3 |
MCP Service Startup Entry
|
| 4 |
"""
|
|
|
|
| 10 |
if mcp_plugin_dir not in sys.path:
|
| 11 |
sys.path.insert(0, mcp_plugin_dir)
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
from mcp_service import create_app
|
| 14 |
|
| 15 |
def main():
|