-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fairly significant changes to check_protocol_fields #531
Fairly significant changes to check_protocol_fields #531
Conversation
Brief answer:
Here, the protocol_type is checked. there is a bit of flex afforded by the tolerance for synonyms which can be specified in a config file found under `isatools/resources/config/yaml/protocol-types.xml but not in a dynamic way so not ideal.
Answer:
These use-cases need more scenario but this would cover the 'optional step' (e.g. is a labeling event happening or not)
Thanks @ptth222 ! @terazus or @proccaserra will run the tests. |
I started editing this function because of the "Only one protocol reference should be used in a Protocol REF column." message(s), but I found some other issues to address as well.
7b57bdf
to
733b74f
Compare
The tests pass now since rebasing to issue-511. |
I started editing this function because of the "Only one protocol reference should be used in a Protocol REF column." message(s), but I found some other issues to address as well.
This function raises some valuable questions.
Are different protocols allowed in the same Protocol REF column?
I think this was pretty much answered as 'Yes' in Different Protocol Names In Study Sequence Cause An Error #501, but it popped up again here.
Do all protocols in the same Protocol REF column have to have the same type?
This function and the structure of the config files suggest so, but is that actually correct?
Can a cell in a Protocol REF column be blank?
I can think of at least one example for this. Let's say you collect 2 different types of tissue from the same source. The first step of collection is the same for both, but one tissue type has an extra step as well. This could result in a file with 2 Protocol REF columns, but the second column would only have the protocol for the extra step of 1 of the tissue types. The type without the extra step would be blank.
Some of the changes I made to this function: