add_description_to_bids_path ==================================================== .. py:function:: petpal.utils.bids_utils.add_description_to_bids_path(filepath: str, description: str) -> str Create a copy of a BIDS filepath string with a description entity inserted before the suffix. .. note:: If a description 'desc-' entity already exists, it will be overwritten. .. seealso:: `Brain Imaging Data Structure (BIDS) `_ :param filepath: BIDS-compliant filepath. :type filepath: str :param description: 'desc' label to add to filename. :type description: str :returns: string with 'desc' entity added (i.e. 'filename_desc-[description]_pet.nii.gz')