hemantn Claude Sonnet 4.6 commited on
Commit ·
1434874
1
Parent(s): 037ba33
Fix Docker: use mambaforge + mamba; add PDB test data
Browse files- condaforge/mambaforge base image solves cpptraj from conda-forge
- Add water-stripped test_traj.pdb (text, no binary push issues)
- Add protein.prmtop (text AMBER topology)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Dockerfile +3 -4
- agent_ide.html +5 -5
- test_data/protein.prmtop +0 -0
- test_data/test_traj.pdb +0 -0
Dockerfile
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
# Install system dependencies
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
-
build-essential \
|
| 6 |
curl \
|
| 7 |
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
-
# Install cpptraj from conda-forge
|
| 10 |
-
RUN
|
| 11 |
|
| 12 |
# Set working directory
|
| 13 |
WORKDIR /app
|
|
|
|
| 1 |
+
FROM condaforge/mambaforge:latest
|
| 2 |
|
| 3 |
# Install system dependencies
|
| 4 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 5 |
curl \
|
| 6 |
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
+
# Install cpptraj from conda-forge using mamba (faster solver)
|
| 9 |
+
RUN mamba install -y -c conda-forge cpptraj && mamba clean -afy
|
| 10 |
|
| 11 |
# Set working directory
|
| 12 |
WORKDIR /app
|
agent_ide.html
CHANGED
|
@@ -958,11 +958,11 @@ import matplotlib.pyplot as plt
|
|
| 958 |
</div>
|
| 959 |
<div style="padding:8px 10px;border-bottom:1px solid var(--border)">
|
| 960 |
<div style="font-size:11px;color:var(--text-muted);margin-bottom:8px;line-height:1.5">
|
| 961 |
-
Solvated protein ·
|
| 962 |
</div>
|
| 963 |
<div style="display:flex;gap:6px;flex-wrap:wrap">
|
| 964 |
<button class="btn btn-ghost" style="font-size:10px;padding:4px 10px" onclick="loadTestTopology()">⬇ Topology (.prmtop)</button>
|
| 965 |
-
<button class="btn btn-ghost" style="font-size:10px;padding:4px 10px" onclick="loadTestTrajectory()">⬇ Trajectory (.
|
| 966 |
<button class="btn btn-primary" style="font-size:10px;padding:4px 10px;margin-top:4px;width:100%" onclick="loadTestScript()">⊕ Load example script</button>
|
| 967 |
</div>
|
| 968 |
</div>
|
|
@@ -2313,13 +2313,13 @@ async function loadTestFile(filename) {
|
|
| 2313 |
}
|
| 2314 |
|
| 2315 |
function loadTestTopology() { loadTestFile('protein.prmtop'); }
|
| 2316 |
-
function loadTestTrajectory() { loadTestFile('
|
| 2317 |
|
| 2318 |
function loadTestScript() {
|
| 2319 |
-
document.getElementById('editor').value = `# Example analysis — solvated protein (
|
| 2320 |
# Load test files from the Files panel first, then click ▶ Run
|
| 2321 |
parm protein.prmtop
|
| 2322 |
-
trajin
|
| 2323 |
|
| 2324 |
# Strip solvent and image trajectory
|
| 2325 |
strip :WAT,Na+,Cl-
|
|
|
|
| 958 |
</div>
|
| 959 |
<div style="padding:8px 10px;border-bottom:1px solid var(--border)">
|
| 960 |
<div style="font-size:11px;color:var(--text-muted);margin-bottom:8px;line-height:1.5">
|
| 961 |
+
Solvated protein · 3216 atoms · 203 res · 2 frames · Multi-MODEL PDB
|
| 962 |
</div>
|
| 963 |
<div style="display:flex;gap:6px;flex-wrap:wrap">
|
| 964 |
<button class="btn btn-ghost" style="font-size:10px;padding:4px 10px" onclick="loadTestTopology()">⬇ Topology (.prmtop)</button>
|
| 965 |
+
<button class="btn btn-ghost" style="font-size:10px;padding:4px 10px" onclick="loadTestTrajectory()">⬇ Trajectory (.pdb)</button>
|
| 966 |
<button class="btn btn-primary" style="font-size:10px;padding:4px 10px;margin-top:4px;width:100%" onclick="loadTestScript()">⊕ Load example script</button>
|
| 967 |
</div>
|
| 968 |
</div>
|
|
|
|
| 2313 |
}
|
| 2314 |
|
| 2315 |
function loadTestTopology() { loadTestFile('protein.prmtop'); }
|
| 2316 |
+
function loadTestTrajectory() { loadTestFile('test_traj.pdb'); }
|
| 2317 |
|
| 2318 |
function loadTestScript() {
|
| 2319 |
+
document.getElementById('editor').value = `# Example analysis — solvated protein (water-stripped PDB)
|
| 2320 |
# Load test files from the Files panel first, then click ▶ Run
|
| 2321 |
parm protein.prmtop
|
| 2322 |
+
trajin test_traj.pdb
|
| 2323 |
|
| 2324 |
# Strip solvent and image trajectory
|
| 2325 |
strip :WAT,Na+,Cl-
|
test_data/protein.prmtop
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
test_data/test_traj.pdb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|