Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate most of the code about the run folder in npg_tracking::illumina::run::folder role #812

Merged
merged 5 commits into from
Apr 4, 2024

Conversation

mgcam
Copy link
Member

@mgcam mgcam commented Feb 27, 2024

This is a huge simplification of the code we have in the npg_tracking::illumina namespace. We will be left with

lib/npg_tracking/illumina/runfolder.pm
lib/npg_tracking/illumina/run/long_info.pm
lib/npg_tracking/illumina/run/folder.pm
lib/npg_tracking/illumina/run.pm

instead of

lib/npg_tracking/illumina/runfolder.pm
lib/npg_tracking/illumina/run/short_info.pm
lib/npg_tracking/illumina/run/folder/location.pm
lib/npg_tracking/illumina/run/long_info.pm
lib/npg_tracking/illumina/run/folder.pm
lib/npg_tracking/illumina/run.pm

@mgcam mgcam force-pushed the simplify_locations branch from 86a6ba5 to 5bb1bc4 Compare March 11, 2024 13:46
mgcam added 5 commits March 11, 2024 14:49
Removed largely outdated
npg_tracking::illumina::run::folder::location role.
Moved a few updated relevant expressions to
npg_tracking::illumina::run::folder role.

Simplified the code that infers the run folder path.

Excluded provisions for tests from the producton code.
Brought 'npg_tracking' configuration test file up-to-date
and set the updated unit tests for the
npg_tracking::illumina::run::folder role to retrieve the
value of the test staging area prefix from this
configuration file.
Made npg_tracking::illumina::run::folder role inherit from
npg_tracking::illumina::run::short_info role since these
two roles are never used separately.
... from npg_tracking::illumina::runfolder to
npg_tracking::illumina::run::folder.
Merged the remaining code from
npg_tracking::illumina::run::short_info role into the
npg_tracking::illumina::run::folder role.
The Config directory does not exist in NovaSeqX run folders.
@mgcam mgcam force-pushed the simplify_locations branch from 5bb1bc4 to 4424adf Compare March 11, 2024 14:52
@mgcam mgcam requested a review from srl147 March 22, 2024 09:20
@srl147 srl147 merged commit 0135663 into wtsi-npg:devel Apr 4, 2024
2 checks passed
mgcam added a commit to mgcam/npg_qc that referenced this pull request Apr 4, 2024
This part contained the code that failed the compilation
following the deletion of teh short_info role in
wtsi-npg/npg_tracking#812
mgcam added a commit to mgcam/npg_seq_pipeline that referenced this pull request Apr 4, 2024
They were testing the ability to infer different paths, which
is already tested in npg_tracking GitHub repo. The deleted tests
were for some unlikely or old scenarios.

Some of the deleted tests started to fail following the reorganisation
and simplification of the npg_tracking::illumina::runfolder class
and its dependencies in wtsi-npg/npg_tracking#812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants