Skip to content

Commit

Permalink
Use scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
keller-mark committed Nov 3, 2023
1 parent cb66693 commit 6430d5e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions demos/common.smk
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
from pathlib import Path
import platform

# Check if this is running on O2
IS_O2 = (platform.system() == "Linux")

# Directory / file constants
SRC_DIR = Path("src")
DATA_DIR = Path("data")
SRC_DIR = "src"
DATA_DIR = ("data" if not IS_O2 else "/n/data1/hms/dbmi/gehlenborg/lab/cao-2020")
RAW_DIR = DATA_DIR / "raw"
PROCESSED_DIR = DATA_DIR / "processed"

Expand Down

0 comments on commit 6430d5e

Please sign in to comment.