-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fix test syntax issues. #530
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,6 @@ | |
value: 68000 | ||
delta: 5000 | ||
mitogenome_genbank: | ||
assert: | ||
has_n_line: | ||
asserts: | ||
has_n_lines: | ||
n: 480 |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -21,10 +21,11 @@ | |||||||||||||||||||||||||||||||
SuCOS threshold: 0 | ||||||||||||||||||||||||||||||||
outputs: | ||||||||||||||||||||||||||||||||
Scored and filtered poses: | ||||||||||||||||||||||||||||||||
class: File | ||||||||||||||||||||||||||||||||
assert: | ||||||||||||||||||||||||||||||||
has_line: "$$$$" | ||||||||||||||||||||||||||||||||
n: 4 | ||||||||||||||||||||||||||||||||
assert: | ||||||||||||||||||||||||||||||||
has_test: "SuCOS_Score" | ||||||||||||||||||||||||||||||||
n: 4 | ||||||||||||||||||||||||||||||||
asserts: | ||||||||||||||||||||||||||||||||
has_line: | ||||||||||||||||||||||||||||||||
line: "$$$$" | ||||||||||||||||||||||||||||||||
n: 4 | ||||||||||||||||||||||||||||||||
asserts: | ||||||||||||||||||||||||||||||||
has_text: | ||||||||||||||||||||||||||||||||
text: "SuCOS_Score" | ||||||||||||||||||||||||||||||||
n: 4 | ||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this will only test the last one, do you have a check for this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think that's really checkable as that's a yaml language issue, we don't go that deep.
Comment on lines
+24
to
+31
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,8 +23,8 @@ | |
bin_size: 50 | ||
outputs: | ||
average_bigwigs: | ||
class: Collection | ||
collection_type: list | ||
attributes: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the model behind this ? attributes seems kind of odd, shouldn't this nest directly under the output ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should and I will implement that in follow ups but that is an enhancement - this version of the models just reflects what actually works with current planemo. I don't think anyone ever thought this through and so it is a pretty low-level mapping to the XML parsing outputs. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't ask my why I put this test... I cannot remember. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (I think I am the only one to use this type of test) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
collection_type: list | ||
element_tests: | ||
ATAC_HH19_PT: | ||
asserts: | ||
|
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.
below there are multiple 'has_text' and only the last one will be tested, right?