@@ -19,16 +19,16 @@ def main():
1919 epilog = """Examples of usage:
2020
2121Build 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
2424Build 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
2727Validate 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
3030Upload 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'
0 commit comments