Skip to content
Snippets Groups Projects
Select Git revision
  • 8623e6c05f296e4f915ddd2be71c6d121303722e
  • master default protected
  • zhang-master-patch-34807
  • add-single-element-interface
  • ast-919-readthedocs
  • ncp_fix
  • workaround-wsclean-issue-83
  • ast-645-add-beam-normalisation-mode-preapplied
  • ast-645-add-beam-normalisation-mode-jm
  • activate-oskar-pybindings
  • disable-element-beam-1
  • submodulesync
  • fix-eigen
  • ncp_check
  • random-fixes
  • lobes-se607-1
  • test-schaapcommon
  • just-testing
  • extend-add_beaminfo-script
  • extend-telescope-interface-to-support-dp3
  • lobes-investigation
  • v0.3.1
  • v0.3.0
  • v0.2.0
  • v0.1.3
  • v0.1.2
  • v0.1.1
  • v0.1.0
28 results

antenna.cc

Blame
  • Forked from ResearchAndDevelopment / EveryBeam
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    aggregate_and_plot.sh 771 B
    #!/usr/bin/sh
    SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
    cd $SCRIPT_DIR
    TOIL_VENV_DIR="${SCRIPT_DIR}/toil_venv"
    if [ -d "toil_venv" ]; then
        echo "Activating existing virtual environment."
        source "${TOIL_VENV_DIR}/bin/activate"
    else
        echo "Creating new virtual environment for using toil"
        python3.9 -m venv $TOIL_VENV_DIR
        source "${TOIL_VENV_DIR}/bin/activate"
        pip install --upgrade pip setuptools wheel
        pip install toil[cwl] singularity
    fi
    export SINGULARITY_BIND="/project:/project"
    export TOIL_SLURM_ARGS=""
    toil-cwl-runner "${SCRIPT_DIR}/imaging_compress_pipeline.git/aggregate_and_plot.cwl" --workdir $SCRIPT_DIR --logDebug --singularity --batchSystem slurm --batchLogsDir ./logs --jobStore ./job_store