-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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() |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 👍
No description provided.