Xu Boyan

Results 4 comments of Xu Boyan

I think this issue can be fixed if the reportlets_dir is converted to absolute path. https://github.com/PennLINC/qsiprep/blob/master/qsiprep/workflows/base.py#L227 from: reportlets_dir = os.path.join(work_dir, 'reportlets') to: reportlets_dir = os.path.join(os.path.abspath(work_dir), 'reportlets')

The `inputs.base_directory` of a `ds_report` node is the `reportlets_dir`. The `out_path` of this node starts with this `reportlets_dir` (https://github.com/PennLINC/qsiprep/blob/master/qsiprep/interfaces/bids.py#L343). However, if it is not an absolute path, this `out_path` will...

![Xnip2021-07-12_16-21-06](https://user-images.githubusercontent.com/1251616/125255009-98b58b00-e32d-11eb-8bee-f08f235c9cf0.png) The `out_path` of a ds_report node when the value for -w is a relative path (work4 in this example).