def AdjustFilePathToBaseDirectory(filepath, base_dir):

  return os.path.relpath(filepath, base_dir)
Fit the ith row to the db
dataset/ETHPy150Open spranesh/Redhawk/redhawk/utils/util.py/AdjustFilePathToBaseDirectory--crossover with--dataset/ETHPy150Open taoliu/taolib/Assoc/tables.py/P.fit_to_db