Skip to content
Ekarin Eric Pongpipat edited this page Sep 12, 2024 · 5 revisions

A set of bash functions to help run bash scripts

Usage

To use the functions in bashHelperKennedyRodrigue, load the module

module load bashHelperKennedyRodrigue

Function Reference

Main

Paths

  • get_code_dir
  • get_root_dir
  • get_value_from_path

IDs

  • filter_ids
  • get_airc_id_from_sub_ses
  • get_ses_from_airc_id
  • get_sub_from_airc_id

Utilities

  • check_file_type_crlf
  • check_in_paths
  • ensure_permissions
  • error_msg
  • get_cluster_name
  • get_duration
  • warning_msg
Clone this wiki locally