Skip to content

Bulk-update modules (mostly only nf-test files), fix changelog #1352

Bulk-update modules (mostly only nf-test files), fix changelog

Bulk-update modules (mostly only nf-test files), fix changelog #1352

GitHub Actions / JUnit Test Report failed Aug 21, 2024 in 0s

1 tests run, 0 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 1 in test_bgc_pyrodigal_profile

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_bgc_pyrodigal_profile

Assertion failed: 

12 of 14 assertions failed
Raw output
Nextflow stdout:

ERROR ~ Error executing process > 'NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE (sample_2)'

Caused by:
  Process `NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE (sample_2)` terminated with an error exit status (1)

Command executed:

  export DEEPBGC_DOWNLOADS_DIR=deepbgc_db
  
  deepbgc \
      pipeline \
      --score 0.5 --prodigal-meta-mode --merge-max-protein-gap 0 --merge-max-nucl-gap 0 --min-nucl 1 --min-proteins 1 --min-domains 1 --min-bio-domains 0 --classifier-score 0.5 \
      sample_2_pyrodigal.gbk
  
  if [[ "sample_2_pyrodigal/" != "sample_2/" ]]; then
      mv "sample_2_pyrodigal/" "sample_2/"
  fi
  
  for i in $(find -name 'sample_2_pyrodigal*' -type f); do
      mv $i ${i/sample_2_pyrodigal/sample_2};
  done
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_FUNCSCAN:FUNCSCAN:BGC:DEEPBGC_PIPELINE":
      deepbgc: $(echo $(deepbgc info 2>&1 /dev/null/ | grep 'version' | cut -d " " -f3) )
      prodigal: $(prodigal -v 2>&1 | sed -n 's/Prodigal V\(.*\):.*/\1/p')
  END_VERSIONS

Command exit status:
  1

Command output:
  (empty)

Command error:
  Unable to find image 'quay.io/biocontainers/deepbgc:0.1.31--pyhca03a8a_0' locally
  0.1.31--pyhca03a8a_0: Pulling from biocontainers/deepbgc
  ca7680d1025d: Already exists
  bd9ddc54bea9: Already exists
  ab13fe7a600b: Pulling fs layer
  ab13fe7a600b: Verifying Checksum
  ab13fe7a600b: Download complete
  ab13fe7a600b: Pull complete
  Digest: sha256:10baf68e2715e281356af1cc84949ea2054ee6c2888e82a6c9e7535331dbc63e
  Status: Downloaded newer image for quay.io/biocontainers/deepbgc:0.1.31--pyhca03a8a_0
   _____                  ____    ____   ____ 
   |  _ \  ___  ___ ____ | __ )  / ___) / ___)
   | | \ \/ _ \/ _ \  _ \|  _ \ | |  _ | |    
   | |_/ /  __/  __/ |_) | |_) || |_| || |___ 
   |____/ \___|\___| ___/|____/  \____| \____)
  =================|_|===== version 0.1.31 =====
  ERROR   21/08 12:53:14   DeepBGC models directory does not exist yet: "deepbgc_db/0.1.0/detector". 
  Traceback (most recent call last):
    File "/usr/local/lib/python3.7/site-packages/deepbgc/main.py", line 113, in main
      run(argv)
    File "/usr/local/lib/python3.7/site-packages/deepbgc/main.py", line 102, in run
      args.func.run(**args_dict)
    File "/usr/local/lib/python3.7/site-packages/deepbgc/command/pipeline.py", line 133, in run
      min_bio_domains=min_bio_domains
    File "/usr/local/lib/python3.7/site-packages/deepbgc/pipeline/detector.py", line 24, in __init__
      model_path = util.get_model_path(detector, 'detector')
    File "/usr/local/lib/python3.7/site-packages/deepbgc/util.py", line 460, in get_model_path
      'Or set {} env var'.format(DEEPBGC_DOWNLOADS_DIR))
  ValueError: ('DeepBGC models directory does not exist yet: "deepbgc_db/0.1.0/detector". ', 'Run "deepbgc download" to download trained models', 'Or set DEEPBGC_DOWNLOADS_DIR env var')
  ERROR   21/08 12:53:14   ================================================================================
  ERROR   21/08 12:53:14   DeepBGC failed with ValueError: DeepBGC models directory does not exist yet: "deepbgc_db/0.1.0/detector". 
  ERROR   21/08 12:53:14   ================================================================================
  ERROR   21/08 12:53:14   Run "deepbgc download" to download trained models
  ERROR   21/08 12:53:14   Or set DEEPBGC_DOWNLOADS_DIR env var
  ERROR   21/08 12:53:14   ================================================================================

Work dir:
  /home/runner/work/funcscan/funcscan/.nf-test/tests/2477b7bee34e2ea73b7b824b229ab27d/work/d0/1c5a1c704e90f3ee45879367d0e0e8

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- Check '/home/runner/work/funcscan/funcscan/.nf-test/tests/2477b7bee34e2ea73b7b824b229ab27d/meta/nextflow.log' file for details
ERROR ~ Pipeline failed. Please refer to troubleshooting docs: https://nf-co.re/docs/usage/troubleshooting

 -- Check '/home/runner/work/funcscan/funcscan/.nf-test/tests/2477b7bee34e2ea73b7b824b229ab27d/meta/nextflow.log' file for details
Nextflow stderr:

Nextflow 24.04.4 is available - Please consider updating your version to it