#!/bin/bash

# get the root of the directory
REPO_ROOT=$(git rev-parse --show-toplevel)

# ensure that the command below is run from the root of the repository
cd "$REPO_ROOT"

nextflow \
  run . \
  -main-script src/workflows/annotation/scanvi_scarches/test.nf \
  -entry test_wf \
  -resume \
  -profile no_publish,docker \
  -c src/workflows/utils/labels_ci.config \
  -c src/workflows/utils/integration_tests.config 

nextflow \
  run . \
  -main-script src/workflows/annotation/scanvi_scarches/test.nf \
  -entry test_wf_2 \
  -resume \
  -profile no_publish,docker \
  -c src/workflows/utils/labels_ci.config \
  -c src/workflows/utils/integration_tests.config 