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

Add current steps to sample details #167

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aanil
Copy link
Member

@aanil aanil commented Dec 18, 2024

current_steps = {}
for step in sample_in_steps:
step_details = get_protocolstep_details(self.session, step[0])[0]
current_steps[step_details[0]] = {"protocol_name": step_details[1], "is_qc_protocol": step_details[2]}
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to check whether step_details is not empty list, it would raise an exception in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants