Xu Boyan
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...
 The `out_path` of a ds_report node when the value for -w is a relative path (work4 in this example).