Skip to content

Commit e98d88d

Browse files
committed
Adding missed references to build/coderbuild
1 parent 5cf3dac commit e98d88d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

coderbuild/build_all.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ def main():
1919
epilog="""Examples of usage:
2020
2121
Build all datasets in a high memory environment, validate them, and upload to Figshare:
22-
python build/build_all.py --all --high_mem --validate --figshare --version 0.1.29
22+
python coderbuild/build_all.py --all --high_mem --validate --figshare --version 0.1.29
2323
2424
Build only experiment files. This assumes preceding steps (docker images, samples, omics, and drugs) have already been completed:
25-
python build/build_all.py --exp
25+
python coderbuild/build_all.py --exp
2626
2727
Validate all local files without building or uploading. These files must be located in ./local. Includes compression/decompression steps.
28-
python build/build_all.py --validate
28+
python coderbuild/build_all.py --validate
2929
3030
Upload the latest data to Figshare (ensure tokens are set in the local environment):
31-
python build/build_all.py --figshare --version 0.1.30
31+
python coderbuild/build_all.py --figshare --version 0.1.30
3232
"""
3333
)
3434
parser.add_argument('--docker',dest='docker',default=False,action='store_true', help="Build all docker images.")
@@ -98,7 +98,7 @@ def process_docker(datasets):
9898
Parameters:
9999
- datasets: list of datasets to process (e.g., ['broad_sanger', 'hcmi', 'mpnst'])
100100
'''
101-
compose_file = 'build/docker/docker-compose.yml'
101+
compose_file = 'coderbuild/docker/docker-compose.yml'
102102

103103
# Map datasets to corresponding Docker Containers
104104
dataset_map = {
@@ -474,10 +474,10 @@ def get_latest_commit_hash(owner, repo, branch='main'):
474474
f'&& git checkout -b testing-auto-build-pr-{args.version} '
475475

476476
# Copy and add the necessary files
477-
f'&& cp /tmp/improve_sample_mapping.json.gz /usr/src/app/coderdata/build/improve_sample_mapping.json.gz '
478-
f'&& cp /tmp/improve_drug_mapping.json.gz /usr/src/app/coderdata/build/improve_drug_mapping.json.gz '
479-
f'&& gunzip /usr/src/app/coderdata/build/*.gz '
480-
f'&& git add -f build/improve_sample_mapping.json build/improve_drug_mapping.json '
477+
f'&& cp /tmp/improve_sample_mapping.json.gz /usr/src/app/coderdata/coderbuild/improve_sample_mapping.json.gz '
478+
f'&& cp /tmp/improve_drug_mapping.json.gz /usr/src/app/coderdata/coderbuild/improve_drug_mapping.json.gz '
479+
f'&& gunzip /usr/src/app/coderdata/coderbuild/*.gz '
480+
f'&& git add -f coderbuild/improve_sample_mapping.json coderbuild/improve_drug_mapping.json '
481481
f'&& cp /tmp/figshare_latest.yml /usr/src/app/coderdata/docs/_data/figshare_latest.yml '
482482
f'&& cp /tmp/dataset.yml /usr/src/app/coderdata/coderdata/dataset.yml '
483483
f'&& git add -f docs/_data/figshare_latest.yml coderdata/dataset.yml'

coderbuild/build_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def process_docker(dataset,validate):
3535
'''
3636
Build Docker images required for the specified dataset.
3737
'''
38-
compose_file = 'build/docker/docker-compose.yml'
38+
compose_file = 'coderbuild/docker/docker-compose.yml'
3939
dataset_map = {
4040
'broad_sanger': ['broad_sanger_exp', 'broad_sanger_omics'],
4141
'hcmi': ['hcmi'],

0 commit comments

Comments
 (0)