-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
96 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
lts/carbon | ||
lts/erbium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
from django.db.models import signals | ||
from django.db import transaction | ||
from django.dispatch import receiver | ||
from django.urls import reverse | ||
from django.utils import timezone | ||
|
||
from zorp import ( | ||
|
@@ -156,8 +157,9 @@ def mark_success(self, fileset_id): | |
metadata.save() | ||
|
||
# TODO: Render this as a nicer-looking template | ||
log_url = reverse('gwas:gwas-ingest-log', kwargs={'slug': metadata.slug}) | ||
send_mail('[locuszoom] Upload succeeded', | ||
f'Your upload is done processing. Please visit https://{settings.LZ_OFFICIAL_DOMAIN}{metadata.get_absolute_url()} to see the Manhattan plot and begin exploring regions of your data.', # noqa | ||
f'Your upload is done processing. Please visit https://{settings.LZ_OFFICIAL_DOMAIN}{metadata.get_absolute_url()} to see the Manhattan plot and begin exploring regions of your data.\nBe sure to review the ingest logs for any warnings: https://{settings.LZ_OFFICIAL_DOMAIN}{log_url}', # noqa | ||
'[email protected]', | ||
[metadata.owner.email]) | ||
|
||
|
@@ -176,8 +178,9 @@ def mark_failure(self, fileset_id): | |
instance.save() | ||
|
||
metadata = instance.metadata | ||
log_url = reverse('gwas:gwas-ingest-log', kwargs={'slug': metadata.slug}) | ||
send_mail('[locuszoom] Upload failed', | ||
f'Your upload failed to process. Please visit https://{settings.LZ_OFFICIAL_DOMAIN}{metadata.get_absolute_url()} to see the error logs.', # noqa | ||
f'Your upload failed to process. Please review the ingest logs for warnings and error messages: https://{settings.LZ_OFFICIAL_DOMAIN}{log_url}\nOr visit the upload page to change settings: https://{settings.LZ_OFFICIAL_DOMAIN}{metadata.get_absolute_url()}', # noqa | ||
'[email protected]', | ||
[metadata.owner.email]) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,8 +39,8 @@ | |
|
||
<link rel="icon" href="{% static 'images/favicons/favicon.ico' %}"> | ||
|
||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" | ||
integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" | ||
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> | ||
<link href="{% static 'css/site.css' %}" rel="stylesheet"> | ||
{% block css %}{% endblock %} | ||
</head> | ||
|
@@ -131,15 +131,12 @@ | |
</footer> | ||
|
||
{# Javascript: global template code, plus custom items per page #} | ||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" | ||
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" | ||
crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" | ||
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" | ||
crossorigin="anonymous"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" | ||
integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" | ||
crossorigin="anonymous"></script> | ||
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" crossorigin="anonymous" | ||
integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" crossorigin="anonymous" | ||
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" crossorigin="anonymous" | ||
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"></script> | ||
{% block javascript %}{% endblock javascript %} | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3253,25 +3253,25 @@ locate-path@^3.0.0: | |
p-locate "^3.0.0" | ||
path-exists "^3.0.0" | ||
|
||
"locuszoom-tabix@https://github.com/statgen/localzoom#dbcc3e5": | ||
version "0.4.0" | ||
resolved "https://github.com/statgen/localzoom#dbcc3e59a2061903d831ca4f8d6874f271f2590f" | ||
"locuszoom-tabix@https://github.com/statgen/localzoom#918fd75": | ||
version "0.5.0" | ||
resolved "https://github.com/statgen/localzoom#918fd7525f7e14c13dae60dc6f630188b1669c53" | ||
dependencies: | ||
"@sentry/browser" "^4.5.2" | ||
bootstrap "^4.1.3" | ||
bootstrap-vue "^2.0.0-rc.11" | ||
gwas-credible-sets "^0.1.0" | ||
locuszoom "0.10.0-beta.2" | ||
locuszoom "0.10.0" | ||
lodash "^4.17.11" | ||
tabix-reader "https://github.com/abought/tabix-reader" | ||
tabulator-tables "^4.1.4" | ||
vue "^2.6.10" | ||
vue-bootstrap-typeahead "^0.2.6" | ||
|
||
[email protected]-beta.2: | ||
version "0.10.0-beta.2" | ||
resolved "https://registry.yarnpkg.com/locuszoom/-/locuszoom-0.10.0-beta.2.tgz#7c007c421ee3c1e39f9adab6612874761bb455c6" | ||
integrity sha512-SkyquD7OCPJQcCrFoJxHBlA9/U9CNJb+EE1n+O/jnX5CqiFlPUHHrzi8KzBUPZ25DQHdtCHXM7YE+0imHTrYDg== | ||
[email protected]: | ||
version "0.10.0" | ||
resolved "https://registry.yarnpkg.com/locuszoom/-/locuszoom-0.10.0.tgz#7dad2341af6e539f6bbf0878ec1753a521e7c647" | ||
integrity sha512-v+g8YKHszmZL7/yJg5EDZhrGS3jlGoP/WTXM0WFjTUi8MrPCADaeutwx/FhkmZtbhtlb+khO+8EYItaaTGEMLg== | ||
dependencies: | ||
d3 "3.5.17" | ||
promise-polyfill "^8.1.3" | ||
|