<commit_before>machine:
  services:
    - docker

dependencies:
  cache_directories:
    - "~/downloads/"
    - "~/docker/"

  pre:
    # Download test data
    - bash build/circle_setup.sh
  override:
    - if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
    - docker build -t oesteban/fmriprep:latest .
    - mkdir -p ~/docker; docker save oesteban/fmriprep:latest > ~/docker/image.tar
test:
  override:
#    - docker run -t -v ~/scratch/data:/root/src/preprocessing-workflow/test_data --entrypoint="/usr/bin/run_unittests" -w "/root/src/preprocessing-workflow" oesteban/fmriprep
    - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_fmriprep" oesteban/fmriprep -B /scratch/data/AA_Conn -S S5271NYO -o /scratch/outputs/ms-fmriprep/out -w /scratch/outputs/ms-fmriprep/work --debug :
        timeout: 4800

general:
  artifacts:
    #- "~/scratch/outputs/ss-all/out"
    #- "~/scratch/outputs/ss-all/work"
    - "~/scratch/outputs/ms-fmriprep/out"
    - "~/scratch/outputs/ms-fmriprep/work"<commit_msg>fix circle ci for new cli<commit_after>machine:
  services:
    - docker

dependencies:
  cache_directories:
    - "~/downloads/"
    - "~/docker/"

  pre:
    # Download test data
    - bash build/circle_setup.sh
  override:
    - if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
    - docker build -t oesteban/fmriprep:latest .
    - mkdir -p ~/docker; docker save oesteban/fmriprep:latest > ~/docker/image.tar
test:
  override:
#    - docker run -t -v ~/scratch/data:/root/src/preprocessing-workflow/test_data --entrypoint="/usr/bin/run_unittests" -w "/root/src/preprocessing-workflow" oesteban/fmriprep
    - docker run -i -v /etc/localtime:/etc/localtime:ro -v ~/scratch:/scratch -w /scratch --entrypoint="/usr/bin/run_fmriprep" oesteban/fmriprep /scratch/data/AA_Conn /scratch/outputs/ms-fmriprep/ participant --participant_label S5271NYO --debug :
        timeout: 4800

general:
  artifacts:
    #- "~/scratch/outputs/ss-all/out"
    #- "~/scratch/outputs/ss-all/work"
    - "~/scratch/outputs/ms-fmriprep/out"
    - "~/scratch/outputs/ms-fmriprep/work"
{'fraction_non_alphanumeric': 0.15924736117485086, 'fraction_numerical': 0.0073428178063331805, 'mean_word_length': 2.892857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6379496', 'n_tokens_mistral': 891, 'n_tokens_neox': 816, 'n_words': 147}