Matteo DiG
09/23/2024, 12:46 PMnf-core lint and it seems related to the nf-core installation in a virtual environment:
/home/ubuntu/Projects/VENVS/nextflow-env/bin/nf-core:8 in <module> │
│ │
│ 5 from nf_core.__main__ import run_nf_core │
│ 6 if __name__ == '__main__': │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(run_nf_core()) │
│ 9 │
│ │
│ /home/ubuntu/Projects/VENVS/nextflow-env/lib/python3.10/site-packages/nf_core/__main__.py:150 in │
│ run_nf_core │
│ │
│ 147 │ │ │ log.debug(f"Could not check latest version: {e}") │
│ 148 │ │ stderr.print("\n") │
│ 149 │ # Launch the click cli │
│ ❱ 150 │ nf_core_cli(auto_envvar_prefix="NFCORE") │
│ 151 │
│ 152 │
│ 153 @tui() │
│ │
│ /home/ubuntu/Projects/VENVS/nextflow-env/lib/python3.10/site-packages/rich_click/rich_command.py │
│ :367 in __call__ │
│ │
│ 364 │ │ # Include this here because I run into a false warning │
│ 365 │ │ # in the PyCharm IDE otherwise; for some reason PyCharm doesn't │
│ 366 │ │ # seem to think RichGroups are callable. (No issues with Mypy, though.) │
│ ❱ 367 │ │ return super().__call__(*args, **kwargs) │
│ 368 │
│ 369 │
│ 370 class RichCommandCollection(CommandCollection, RichGroup): │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: not enough values to unpack (expected 2, got 1)
Did anyone experience a similar issue? Maybe I am not applying the lint command properly? Thanks!
P.S. I couldn't paste the whole error due to characters limitation, but happy to provide the entire one separatelyPhil Ewels
09/23/2024, 1:03 PMPhil Ewels
09/23/2024, 1:04 PMMatteo DiG
09/24/2024, 8:56 AMPhil Ewels
09/24/2024, 9:15 AMPhil Ewels
09/24/2024, 9:16 AMMatteo DiG
09/24/2024, 9:34 AMMatteo DiG
09/24/2024, 9:36 AMPhil Ewels
09/24/2024, 9:38 AMPhil Ewels
09/24/2024, 9:38 AMnextflow config to do this, but it shouldn't ever have a traceback like that