Spaces:
Sleeping
Sleeping
Update atomman/mcp_output/mcp_plugin/mcp_service.py
Browse files
atomman/mcp_output/mcp_plugin/mcp_service.py
CHANGED
|
@@ -1,11 +1,3 @@
|
|
| 1 |
-
import os
|
| 2 |
-
import sys
|
| 3 |
-
|
| 4 |
-
# Add the local source directory to sys.path
|
| 5 |
-
source_path = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))), "source")
|
| 6 |
-
if source_path not in sys.path:
|
| 7 |
-
sys.path.insert(0, source_path)
|
| 8 |
-
|
| 9 |
from fastmcp import FastMCP
|
| 10 |
from atomman.core import Atoms, Box, ElasticConstants, System
|
| 11 |
from atomman.defect import FreeSurface, GrainBoundary
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
from fastmcp import FastMCP
|
| 2 |
from atomman.core import Atoms, Box, ElasticConstants, System
|
| 3 |
from atomman.defect import FreeSurface, GrainBoundary
|