Skip to content

AttributeError: 'Namespace' object has no attribute 'log' #2

@shenweiyan

Description

@shenweiyan

It seems like specifying the log parameter is necessary. How should this parameter be specified?

$ /SoftWare/Python-3.7.3/bin/fsplit split -i Undetermined_R1.fq.gz -I Undetermined_R2.fq.gz -b barcode.txt -m 1 -o ./
Traceback (most recent call last):
  File "/SoftWare/Python-3.7.3/bin/fsplit", line 8, in <module>
    sys.exit(main())
  File "/SoftWare/Python-3.7.3/lib/python3.7/site-packages/fsplit/utils.py", line 209, in wrapper
    value = func(*args, **kwargs)
  File "/SoftWare/Python-3.7.3/lib/python3.7/site-packages/fsplit/main.py", line 11, in main
    logs = log(logfile=args.log)
AttributeError: 'Namespace' object has no attribute 'log'

$ /SoftWare/Python-3.7.3/bin/fsplit split -i Undetermined_R1.fq.gz -I Undetermined_R2.fq.gz -b barcode.txt -m 1 -o ./ --log=log.txt
usage: fsplit [-h] [-v] command ...
fsplit: error: unrecognized arguments: --log=log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions