Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with the test case #54

Open
DavidSriker opened this issue May 2, 2021 · 0 comments
Open

problem with the test case #54

DavidSriker opened this issue May 2, 2021 · 0 comments

Comments

@DavidSriker
Copy link

I try to use the tool with the test case but I got the following error (which refers to the 20191121_BRAC3438.6f.mcd)

>>> nextflow run nf-core/imcyto -profile test,docker
N E X T F L O W  ~  version 20.10.0
Launching `nf-core/imcyto` [marvelous_bhabha] - revision: b5877ce63f [master]
----------------------------------------------------
                                        ,--./,-.
        ___     __   __   __   ___     /,-._.--~'
  |\ | |__  __ /  ` /  \ |__) |__         }  {
  | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                        `._,._,'
  nf-core/imcyto v1.0.0
----------------------------------------------------
Run Name                 : marvelous_bhabha
Input Files              : https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/inputs/20191121_BRAC3438.6f.mcd
Metadata File            : https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/inputs/metadata.csv
Full Stack cppipe File   : https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/plugins/full_stack_preprocessing.cppipe
Ilastik Stack cppipe File: https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/plugins/ilastik_stack_preprocessing.cppipe
Skip Ilastik Step        : No
Ilastik Training ilp File: https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/plugins/ilastik_training_params.ilp
Segmentation cppipe File : https://raw.githubusercontent.com/nf-core/test-datasets/imcyto/plugins/segmentation.cppipe
Max Resources            : 6 GB memory, 2 cpus, 12h time per job
Container                : docker - [:]
Output Dir               : ./results
Launch Dir               : /home/nucleai
Working Dir              : /home/nucleai/work
Script Dir               : /home/nucleai/.nextflow/assets/nf-core/imcyto
User                     : nucleai
Config Profile           : test,docker
Config Description       : Minimal test dataset to check pipeline function
----------------------------------------------------
executor >  local (2)
[2e/3d5015] process > IMCTOOLS (20191121_BRAC3438.6f) [  0%] 0 of 1
executor >  local (2)
[2e/3d5015] process > IMCTOOLS (20191121_BRAC3438.6f) [100%] 1 of 1, failed: 1 ✘
[-        ] process > PREPROCESS_FULL_STACK           -
executor >  local (2)
[2e/3d5015] process > IMCTOOLS (20191121_BRAC3438.6f) [100%] 1 of 1, failed: 1 ✘
[-        ] process > PREPROCESS_FULL_STACK           -
executor >  local (2)
[2e/3d5015] process > IMCTOOLS (20191121_BRAC3438.6f) [100%] 1 of 1, failed: 1 ✘
[-        ] process > PREPROCESS_FULL_STACK           -
[-        ] process > PREPROCESS_ILASTIK_STACK        -
executor >  local (2)
[2e/3d5015] process > IMCTOOLS (20191121_BRAC3438.6f) [100%] 1 of 1, failed: 1 ✘
[-        ] process > PREPROCESS_FULL_STACK           -
[-        ] process > PREPROCESS_ILASTIK_STACK        -
[-        ] process > ILASTIK                         -
[-        ] process > SEGMENTATION                    -
[d4/a4bba6] process > output_documentation            [100%] 1 of 1 ✔
[-        ] process > get_software_versions           -
Execution cancelled -- Finishing pending tasks before exit
-[nf-core/imcyto] Pipeline completed with errors-
Error executing process > 'IMCTOOLS (20191121_BRAC3438.6f)'

Caused by:
  Process `IMCTOOLS (20191121_BRAC3438.6f)` terminated with an error exit status (1)

Command executed:

  run_imctools.py 20191121_BRAC3438.6f.mcd metadata.csv
  pip show imctools | grep "Version" > imctools_version.txt

Command exit status:
  1

Command output:
  (empty)

Command error:
  Traceback (most recent call last):
    File "/home/nucleai/.nextflow/assets/nf-core/imcyto/bin/run_imctools.py", line 73, in <module>
      parser = mcdparser.McdParser(args.INPUT_FILE)
    File "/usr/local/lib/python3.8/site-packages/imctools/io/mcdparser.py", line 31, in __init__
      McdParserBase.__init__(self, filename, filehandle, metafilename)
    File "/usr/local/lib/python3.8/site-packages/imctools/io/mcdparserbase.py", line 48, in __init__
      self.retrieve_mcd_xml()
    File "/usr/local/lib/python3.8/site-packages/imctools/io/mcdparser.py", line 73, in retrieve_mcd_xml
      raise ValueError('Invalid MCD: MCD xml start tag not found in file %s' % self.filename)
  ValueError: Invalid MCD: MCD xml start tag not found in file 20191121_BRAC3438.6f.mcd

Work dir:
  /home/nucleai/work/2e/3d50156173d45bbca8d5be8dae1dd3

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

Can you please suggest a way of fixing it?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant