Skip to content

Commit

Permalink
fix: update dry run ci for git submodule profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Routsong committed Dec 12, 2023
1 parent ec7b5a0 commit 01cd865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dryrun.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Dry Run with test data
run: |
docker run -h cn0000 -v $PWD:/opt2 -w /opt2 snakemake/snakemake:stable /bin/bash -c \
"pip install -r requirements.txt;./weave run -s /opt2/.tests/illumnia_demux -o /opt2/.tests/illumnia_demux/dry_run_out --local --dry-run /opt2/.tests/illumnia_demux"
"source get_submods.sh; pip install -r requirements.txt;./weave run -s /opt2/.tests/illumnia_demux -o /opt2/.tests/illumnia_demux/dry_run_out --local --dry-run /opt2/.tests/illumnia_demux"
- name: View the pipeline config file
run: |
echo "Generated config file for pipeline...." && cat $PWD/.tests/illumnia_demux/dry_run_out/.config/config_job_0.json
Expand Down
2 changes: 1 addition & 1 deletion scripts/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def get_run_directories(runids, seq_dir=None):
elif xml_rid and Path(run_p, f'SampleSheet_{xml_rid}.csv').exists():
this_run_info['samplesheet'] = parse_samplesheet(Path(run_p, f'SampleSheet_{xml_rid}.csv').absolute())
else:
raise FileNotFoundError(f'Run {rid}({run_p}) does not have a findable sample sheet.')
raise FileNotFoundError(f'Run {rid}({run_p}) does not have a find-able sample sheet.')

this_run_info.update({info.tag: info.text for run in runinfo_xml.getroot() for info in run \
if info.text is not None and info.text.strip() not in ('\n', '')})
Expand Down

0 comments on commit 01cd865

Please sign in to comment.