Skip to content

Commit 43450f6

Browse files
committed
Merged recent changes from 'main' branch
2 parents 796fb71 + c02c9da commit 43450f6

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Dockerfiles/murfey-instrument-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# podman build --build-arg groupid=<groupid> --build-arg userid=<userid> --build-arg groupname=<groupname> --no-cache -f path/to/Dockerfiles/murfey-instrument-server -t murfey-instrument-server:<version> path/to/python-murfey
33

44
# Set up the base image to build with
5-
FROM docker.io/library/python:3.12.10-slim-bookworm AS base
5+
FROM docker.io/library/python:3.12-slim-bookworm AS base
66

77
# Install Vim in base image
88
RUN apt-get update && \

Dockerfiles/murfey-server

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# podman build --build-arg groupid=<groupid> --build-arg userid=<userid> --build-arg groupname=<groupname> --no-cache -f path/to/Dockerfiles/murfey-server -t murfey-server:<version> path/to/python-murfey
33

44
# Set up the base image to build with
5-
FROM docker.io/library/python:3.12.10-slim-bookworm AS base
5+
FROM docker.io/library/python:3.12-slim-bookworm AS base
66

77
# Install Vim and PostgreSQL dependencies in base image
88
RUN apt-get update && \
@@ -35,10 +35,10 @@ RUN apt-get update && \
3535
psycopg2-binary \
3636
&& \
3737
/venv/bin/python -m pip install /python-murfey[server] && \
38-
curl https://bio3d.colorado.edu/imod/AMD64-RHEL5/imod_5.1.0_RHEL8-64_CUDA12.0.sh > imod_5.1.0_RHEL8-64_CUDA12.0.sh && \
39-
chmod +x imod_5.1.0_RHEL8-64_CUDA12.0.sh && \
38+
curl https://bio3d.colorado.edu/imod/AMD64-RHEL5/imod_5.1.9_RHEL8-64_CUDA12.0.sh > imod_5.1.9_RHEL8-64_CUDA12.0.sh && \
39+
chmod +x imod_5.1.9_RHEL8-64_CUDA12.0.sh && \
4040
mkdir imod && \
41-
./imod_5.1.0_RHEL8-64_CUDA12.0.sh -dir imod -skip -y
41+
./imod_5.1.9_RHEL8-64_CUDA12.0.sh -dir imod -skip -y
4242

4343

4444
# Transfer completed builds to base image

src/murfey/server/gain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import asyncio
44
import logging
55
import os
6+
import shutil
67
from enum import Enum
78
from pathlib import Path
89
from typing import Dict, Tuple
@@ -130,4 +131,6 @@ async def prepare_eer_gain(
130131
f"{stderr.decode('utf-8').strip()}"
131132
)
132133
return None, None
134+
# Also copy the gain as a .gain file
135+
shutil.copy(secure_path(gain_path), secure_path(gain_out.with_suffix(".gain")))
133136
return gain_out, None

0 commit comments

Comments
 (0)