Skip to content

fix(prepare_inputs): support relative paths

Alex Kanitz requested to merge fix_labkey_test into dev

To ensure that output files for tests are identical regardless of the environment from which they are called, the script for preparing inputs now allows skipping of path expansion, essentially allowing the specification of relative file paths (e.g, relative to the location of the script).

Changes:

  • add CLI argument --no-process-paths, which, together with setting --output-dir="", allows for the functionality described above
  • update test tests/test_scripts_prepare_inputs_table/test.sh to add CLI arguments --no-process-paths and --output-dir=""
  • update md5 hash sums for output files created by that test
  • rename script to prepare_inputs.py (previousy labkey_to_snakemake.py (accounting for the use case where the input table is not derived from LabKey); also renamed the table with information to map LabKey to Snakemake table column identifiers accordingly

Fixes #120 (closed)

Edited by Alex Kanitz

Merge request reports