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

Troubleshooting and fixing manifest handling #13

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

kedhammar
Copy link

No description provided.

Copy link
Owner

@ssjunnebo ssjunnebo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@@ -379,44 +374,38 @@ def find_manifest_zip(self):
logger.warning(
f"No manifest found for run '{self.run_dir}' with pattern '{glob_pattern}'."
)
return False # TODO: determine whether to raise an error here instead
return None
elif len(glob_results) > 1:
logger.warning(
f"Multiple manifests found for run '{self.run_dir}' with pattern '{glob_pattern}', using latest one."
)
glob_results.sort()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this works as long as no-one renames the manifest files, which we do for illumina during redemux. Fine for now but we need to think about it later.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If redemux is done manually, how about overriding the demux file path as a CLI parameter?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think that would make sense 👍

taca/element/Element_Runs.py Show resolved Hide resolved
@ssjunnebo ssjunnebo merged commit dda10c6 into ssjunnebo:aviti Oct 7, 2024
6 of 7 checks passed
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