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

Unknown process directive: validExitStatus #54

Open
MustafaElshani opened this issue Sep 20, 2022 · 2 comments
Open

Unknown process directive: validExitStatus #54

MustafaElshani opened this issue Sep 20, 2022 · 2 comments

Comments

@MustafaElshani
Copy link

MustafaElshani commented Sep 20, 2022

This seems to be an issue

logs are here

Check script '/root/.nextflow/assets/likelet/LncPipe/LncRNAanalysisPipe.nf' at line: 1038 or see '.nextflow.log' file for more details

logs are here

Sep-20 14:17:05.816 [Actor Thread 38] DEBUG nextflow.file.SortFileCollector - FileCollector temp dir not removed: null
Sep-20 14:17:05.817 [main] ERROR nextflow.cli.Launcher - @unknown
nextflow.exception.IllegalDirectiveException: Unknown process directive: `validExitStatus`

It may be related to the following nextflow-io/nextflow#1564 which a Nextflow issue

@MustafaElshani
Copy link
Author

MustafaElshani commented Sep 20, 2022

This seem to have solved it c39867c

@xfk274280
Copy link

This seem to have solved it c39867c

don't work for me
Even when the PLEK.PY script runs successfully, it still returns sys.exit(1). I have commented out the script in the Docker image and the execution was successful.

           # statistics
            Total_count=0
            Noncoding_count=0
            for line in open(_options.prefix, 'r'):
                    Total_count=Total_count+1
                    #if line.find("Non-coding")>=0:                 
                    if re.compile(r'^Non-coding').match(line):
                            Noncoding_count=Noncoding_count+1
            print(' Coding: {0}/{1}={2}%, Non-coding: {3}/{4}={5}%'.format(
                    Total_count-Noncoding_count, Total_count, 1.0*(Total_count-Noncoding_count)/Total_count*100, 
                    Noncoding_count, Total_count, 1.0*(Noncoding_count)/Total_count*100))
            
            
            print('success')
            #sys.exit(1)

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

2 participants