Skip to content

Commit 112ab88

Browse files
committed
added an option to build all to start after exps are done
1 parent bc74c6c commit 112ab88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coderbuild/build_all.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def main():
3535
parser.add_argument('--samples',dest='samples',default=False,action='store_true', help="Build all sample files.")
3636
parser.add_argument('--omics',dest='omics',default=False,action='store_true', help="Build all omics files.")
3737
parser.add_argument('--drugs',dest='drugs',default=False,action='store_true', help="Build all drug files")
38+
parser.add_argument('--misc', action='store_true', help="Run the final misc post-build step (e.g., split broad_sanger datasets).")
3839
parser.add_argument('--exp',dest='exp',default=False,action='store_true', help="Build all experiment file.")
3940
parser.add_argument('--validate', action='store_true', help="Run schema checker on all local files. Note this will be run, whether specified or not, if figshare arguments are included.")
4041
parser.add_argument('--figshare', action='store_true', help="Upload all local data to Figshare. FIGSHARE_TOKEN must be set in local environment.")
@@ -384,9 +385,9 @@ def get_latest_commit_hash(owner, repo, branch='main'):
384385
# Currently only the cell line datasets need this. This seperates broad_sanger into all of its component datasets.
385386

386387
with ThreadPoolExecutor() as executor:
387-
if args.all:
388+
if args.misc or args.all:
388389
misc_thread = executor.submit(process_misc, executor, datasets, args.high_mem)
389-
if args.all:
390+
if args.misc or args.all:
390391
misc_thread.result()
391392
print("Final build step complete.")
392393

0 commit comments

Comments
 (0)