Skip to content

Commit 942bb56

Browse files
committed
Fix hardcoded path for Lightning AI compatibility
- Use Path.cwd() instead of hardcoded Mac path - Enables cross-platform execution on Lightning AI and other cloud environments
1 parent 038d25e commit 942bb56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generation/generate_esm2_peptides.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def write_fasta(sequences: List[str], output_file: Path, prefix: str = "peptide"
116116
def generate_esm2_datasets():
117117
"""Generate all 4 ESM2-based peptide datasets."""
118118

119-
# Configuration
120-
base_dir = Path("/Users/chris/Desktop/Griffith Lab/Peptide Sequence Synthesis")
119+
# Configuration - Use current working directory for cross-platform compatibility
120+
base_dir = Path.cwd() # Current working directory
121121
output_dir = base_dir / "data" / "ESM2_1M_Peptides"
122122

123123
lengths = [8, 9, 10, 11]

0 commit comments

Comments
 (0)