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

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

Open
shenweiyan opened this issue Mar 20, 2024 · 1 comment
Open

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

shenweiyan opened this issue Mar 20, 2024 · 1 comment

Comments

@shenweiyan
Copy link

shenweiyan commented Mar 20, 2024

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
@yodeng
Copy link
Owner

yodeng commented Mar 20, 2024

Oh, I'm sorry, the "--log" & "--debug" parameters were not parsed in "split" subcommand, and I'v already fixed it d06f173. Thanks for your nice issue. @shenweiyan

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