Skip to content

Commit 64dc1bc

Browse files
committed
updated job to be fixed or otherwise log error to help fix
1 parent d32460b commit 64dc1bc

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.github/workflows/docker-build-and-run.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,10 @@ jobs:
9898
9999
- name: Verify input files
100100
run: |
101+
IVIM_SIM_DIR = "${{ github.workspace }}/ivim_simulation"
101102
for file in ivim_simulation_0000.dcm, ivim_simulation_0001.dcm, ivim_simulation_0002.dcm ivim_simulation_0003.dcm ivim_simulation_0004.dcm; do
102-
if [ ! -f "${{ github.workspace }}/ivim_simulation/$file" ]; then
103-
echo "Error: $file not found"
103+
if [ ! -f "$IVIM_SIM_DIR/$file" ]; then
104+
echo "Error: $IVIM_SIM_DIR/$file not found"
104105
exit 1
105106
fi
106107
done

Docker/dicom2nifti/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
3333

3434
COPY --from=build /usr/local/bin/dcm2niix /usr/local/bin/dcm2niix
3535

36-
COPY ../../requirements.txt ./
37-
38-
RUN pip install --no-cache-dir -r requirements.txt
39-
4036
COPY ../.. .
4137

38+
RUN pip install --no-cache-dir .
39+
4240
ENTRYPOINT ["python3", "-m", "WrapImage.dicom2niix_wrapper"]

WrapImage/__init__.py

Whitespace-only changes.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ version = "0.1.0"
44
description = "IVIM MRI signal processing and NIfTI/DICOM processing tools"
55
requires-python = ">=3.9"
66
readme = "README.md"
7-
license = {text = "Apache 2"}
87
dependencies = [
98
"numpy<2",
109
"nibabel",

0 commit comments

Comments
 (0)