CuBIDS icon indicating copy to clipboard operation
CuBIDS copied to clipboard

what is the correct usage of cubids apply?

Open jhauneuro opened this issue 9 months ago • 0 comments

Summary

Hello,

I got the following error when trying to use the cubids apply command. What is the correct syntax for this command?

Thanks, Jan

Additional details

  • CuBIDS version: 1.1.0
  • Datalad version: n/a

What were you trying to do?

Run cubids apply.

What did you expect to happen?

Apply changes specified in edited_summary.tsv file to my bids directory.

What actually happened?

Returned an error.

Reproducing the bug

cubids apply bids_dir bids_dir/code/CuBIDS/v0_edited_summary.tsv bids_dir/code/CuBIDS/v0_files.tsv v1
Traceback (most recent call last):
  File "/opt/anaconda3/envs/cubids/bin/cubids", line 8, in <module>
    sys.exit(_main())
  File "/opt/anaconda3/envs/cubids/lib/python3.8/site-packages/cubids/cli.py", line 697, in _main
    options.func(**args)
TypeError: apply() missing 2 required positional arguments: 'edited_tsv_prefix' and 'output_prefix'

jhauneuro avatar May 16 '24 01:05 jhauneuro