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

fix #1971 #1989

Merged
merged 2 commits into from
Nov 8, 2016
Merged

fix #1971 #1989

merged 2 commits into from
Nov 8, 2016

Conversation

antgonza
Copy link
Member

@antgonza antgonza commented Nov 7, 2016

Just fixing the issue.

Now, if the prep has been submitted to EBI you will see:
screen shot 2016-11-07 at 7 28 29 am

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 881363b on antgonza:fix-1971 into * on biocore:master*.

@@ -173,10 +173,14 @@ def study_prep_get_req(study_id, user_id):
info['start_artifact_id'] = start_artifact.id
info['youngest_artifact'] = '%s - %s' % (
youngest_artifact.name, youngest_artifact.artifact_type)
info['ebi_experiment'] = (True
Copy link
Member

Choose a reason for hiding this comment

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

I think this line can be shortened to bool(prep.ebi_experiment_accessions), at least that's what the if would do IIRC.

<span id="prep-header-{{prep['id']}}">{{prep['name']}} - ID {{prep['id']}} - {{prep['status']}}</span><br/>
<span id="prep-header-{{prep['id']}}">
{% if prep['ebi_experiment'] %}
<img src="{% raw qiita_config.portal_dir %}/static/img/ena.png" style="width:20px;height:20px;">
Copy link
Member

Choose a reason for hiding this comment

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

Should this be a link to the accession itself?

Copy link
Member Author

Choose a reason for hiding this comment

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

Perhaps, no strong feelings. I think it's fine as it is. If we add, suggest adding to the full study as EBI doesn't have a group preparation (preparation info file) idea.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, no strong ( 💪 ) feelings on this matter either. OK to leave as is.

Copy link
Contributor

@josenavas josenavas left a comment

Choose a reason for hiding this comment

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

Tests are failing. Good to merge once tests are fixed!

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling c21d4bc on antgonza:fix-1971 into * on biocore:master*.

@antgonza
Copy link
Member Author

antgonza commented Nov 8, 2016

Random error, restarted job and now is passing. Ready to merge.

@ElDeveloper ElDeveloper merged commit b6d8dfc into qiita-spots:master Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants