code: def get_fname(string):
      if string is not None:
          return string.split("/")[-1].split(".")[0]
      else:
          return "default"
  
file_path: pytorch_geometric/graphgym/configs_gen.py
imports: import argparse
  import copy
  import csv
  import os.path
  import random
  import numpy
  import yaml
  from torch_geometric.graphgym.utils.comp_budget import match_baseline_cfg
  from torch_geometric.graphgym.utils.io import makedirs_rm_exist, string_to_python
label_desc: Use image node_id 2 for calling a global function with example usage: get_fname(string) and returns: string, str