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

hq unexpected argument '--log' found #5558

Open
Younthing opened this issue Dec 3, 2024 · 1 comment
Open

hq unexpected argument '--log' found #5558

Younthing opened this issue Dec 3, 2024 · 1 comment

Comments

@Younthing
Copy link

Bug report

tmpE0B5

Expected behavior and actual behavior

Expected: Nextflow pipeline should work with hq v0.20
Actual: Pipeline fails due to parameter incompatibility - hq v0.20 uses '--stream' parameter while Nextflow generates '--log' parameter

Steps to reproduce the problem

Running Nextflow pipeline with hq v0.20 integration results in error due to parameter mismatch.
Error message: "error: unexpected argument '--log' found"

Program output

error: unexpected argument '--log' found

Environment

  • Nextflow version: 24.10.2
  • Java version: openjdk 11.0.13 2021-10-19 (OpenJDK Runtime Environment JBR-11.0.13.7-1751.21-jcef)
  • Operating system: Ubuntu 22.04
  • Bash version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
  • Additional tool version: hq v0.20

Additional context

This appears to be a compatibility issue between Nextflow and recent versions of hq. The hq tool has updated its parameter syntax from '--log' to '--stream'. The pipeline generator in Nextflow needs to be updated to use the new parameter syntax.

Proposed solution: Update Nextflow's hq integration to generate '--stream' instead of '--log' when working with hq v0.20 and above.

Report submitted by: Younthing
Date: 2024-12-03 06:40:00 UTC

@Younthing Younthing changed the title Command executed: hq --output-mode=quiet submit --directives=file .command.run error: unexpected argument '--log' found Usage: #HQ <hq submit parameters> hq unexpected argument '--log' found Dec 3, 2024
@pditommaso
Copy link
Member

Apparently HyperQueue team don't care about backward compatibility of their tool https://github.com/It4innovations/hyperqueue/blob/main/CHANGELOG.md#removed.

Not sure how much it can be done at nextflow level.

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