code: def get_pipeline_subdir_alternatives(self, quiet=0):
          
          if not self.pipeline:
              print('Please set pipeline first.')
              self.get_pipeline_alternatives()
          else:
              pipeline_subdir_alternatives = []
              for s in self.bids_tags['sub']:
                  derdir_files = os.listdir(
                      self.BIDS_dir + '/derivatives/' + self.pipeline + '/sub-' + s + '/func/')
                  pipeline_subdir_alternatives += [
                      f for f in derdir_files if os.path.isdir(self.BIDS_dir + '/derivatives/' + self.pipeline + '/sub-' + s + '/func/' + f)]
              pipeline_subdir_alternatives = set(pipeline_subdir_alternatives)
              if quiet == 0:
                  print('Pipeline_subdir alternatives: ' +
                        ', '.join(pipeline_subdir_alternatives))
              return list(pipeline_subdir_alternatives)
docs: Note
          -----
  
          This function currently returns the wrong folders and will be fixed in the future.
  
          This function should return ./derivatives/pipeline/sub-xx/[ses-yy/][func/]/pipeline_subdir
          But it does not care about ses-yy at the moment.