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

Implement new auto-process 'info' command #895

Merged
merged 7 commits into from
Dec 20, 2023
Prev Previous commit
'info' command: update to add run configuration information.
pjbriggs committed Dec 20, 2023
commit 449f36f381f3e0298fb4edcf5ca2da00bd7ea404
11 changes: 6 additions & 5 deletions auto_process_ngs/cli/auto_process.py
Original file line number Diff line number Diff line change
@@ -1300,11 +1300,12 @@ def info(args):
logger.fatal("Missing metadata and/or parameters")
sys.exit(1)
# Report information
print("Run ID : %s" % d.run_id)
print("Platform : %s" % d.metadata.platform)
print("Flow cell mode: %s" % d.metadata.flow_cell_mode)
print("Bases mask : %s" % d.metadata.default_bases_mask)
print("Sample sheet : %s" % d.params.sample_sheet)
print("Run ID : %s" % d.run_id)
print("Platform : %s" % d.metadata.platform)
print("Flow cell mode : %s" % d.metadata.flow_cell_mode)
print("Run configuration : %s" % d.metadata.run_configuration)
print("Default bases mask: %s" % d.metadata.default_bases_mask)
print("Sample sheet : %s" % d.params.sample_sheet)

def metadata(args):
"""