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
Ebi improvements pet #1490
Ebi improvements pet #1490
Changes from 5 commits
ac61f74
4642900
00d5fd5
cf66a53
a4c1537
e3d229d
ae3ec1d
1b17f81
b15c95d
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 |
---|---|---|
|
@@ -1414,6 +1414,12 @@ def f(): | |
pt.ebi_experiment_accessions = exp_acc | ||
npt.assert_warns(QiitaDBWarning, f) | ||
|
||
def test_is_submitted_to_ebi(self): | ||
self.assertTrue(self.tester.is_submitted_to_ebi) | ||
pt = PrepTemplate.create(self.metadata, self.test_study, | ||
self.data_type) | ||
self.assertFalse(pt.is_submitted_to_ebi) | ||
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. Should it be 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. Scratch that. Missed the 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. 😄 |
||
|
||
|
||
EXP_PREP_TEMPLATE = ( | ||
'sample_name\tbarcode\tcenter_name\tcenter_project_name\t' | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,8 @@ | |
'public': | ||
('glyphicon glyphicon-eye-open', 'glyphicon glyphicon-globe', 'green')} | ||
|
||
ebi_linkifier = ('<a href="http://www.ebi.ac.uk/ena/data/view/{0}" ' | ||
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. ebi_linkifier -> EBI_LINKIFIER |
||
'target="_blank">{0}</a>') | ||
|
||
def linkify(link_template, item): | ||
"""Formats a strings into a URL using string replacement | ||
|
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.
This is minor - could you rephrase this from "Gets" to "Inquires"?
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.
Done