-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from ArnovanHilten/epistasis-fix
Fix installation issues
- Loading branch information
Showing
14 changed files
with
323 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Ignore Python cache and compiled files | ||
__pycache__/ | ||
*.py[cod] | ||
*.pyo | ||
# Ignore environment folders | ||
venv/ | ||
env/ | ||
.venv/ | ||
conda_env/ | ||
# Ignore any distribution or build artifacts | ||
build/ | ||
dist/ | ||
*.egg-info | ||
# Ignore version control system folders | ||
.git/ | ||
.gitignore | ||
# Ignore OS-specific hidden files | ||
.DS_Store | ||
Thumbs.db | ||
# If you have a big data directory or logs, ignore those too | ||
data/ | ||
logs/ | ||
|
||
# jupyter notebooks | ||
.ipynb_checkpoints | ||
__pycache__/ | ||
# processed data | ||
processed_data/* | ||
!processed_data/.gitkeep | ||
# results | ||
results/* | ||
!results/.gitkeep | ||
# idea | ||
.idea/ | ||
.idea/* | ||
.swp | ||
*.swp | ||
.log | ||
*.log | ||
examples/A_to_Z/processed_data/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Step 1: Use the official TensorFlow 2.11 image as the base | ||
FROM tensorflow/tensorflow:2.11.0 | ||
|
||
# Step 2: Install system dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
git \ | ||
wget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Step 3: Upgrade pip to the latest version | ||
RUN python3 -m pip install --upgrade pip | ||
|
||
# Step 4: Copy your requirements file into the container | ||
COPY requirements_GenNet.txt /tmp/requirements_GenNet.txt | ||
|
||
# Step 5: Install Python packages | ||
RUN pip install --no-cache-dir -r /tmp/requirements_GenNet.txt | ||
|
||
# Step 6: Set the working directory | ||
WORKDIR /app | ||
|
||
# Step 7: Copy your project files into the container | ||
COPY . /app | ||
|
||
# Step 8: Set environment variables (optional) | ||
ENV RESULT_PATH="/app/results" | ||
ENV DATA_PATH="/app/examples" | ||
|
||
# Step 9: Define the entrypoint to simplify CLI usage | ||
ENTRYPOINT ["python", "GenNet.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.