-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from bento-platform/develop
Version 1.1.0
- Loading branch information
Showing
22 changed files
with
655 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# If Django runs in DEBUG mode | ||
export CHORD_DEBUG=false | ||
export SERVICE_SECRET_KEY=some_secret_key | ||
|
||
export POSTGRES_DATABASE= | ||
export POSTGRES_USER= | ||
export POSTGRES_PASSWORD= | ||
# Should only need to use a host or socket dir | ||
export POSTGRES_HOST= | ||
export POSTGRES_SOCKET_DIR= | ||
export POSTGRES_PORT= | ||
|
||
# CHORD-specific | ||
export CHORD_URL= | ||
export CHORD_PERMISSIONS= | ||
export SERVICE_ID= | ||
|
||
# CanDIG-specific | ||
export INSIDE_CANDIG=true | ||
export CANDIG_OPA_URL=http://0.0.0.0:8181 |
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ passwords.txt | |
|
||
# virtualenv | ||
env/ | ||
.env | ||
|
||
# IDE related (intelliJ, vim files) | ||
.idea/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import django_filters | ||
from .models import Experiment | ||
|
||
|
||
class ExperimentFilter(django_filters.rest_framework.FilterSet): | ||
experiment_type = django_filters.CharFilter(lookup_expr='iexact') | ||
molecule = django_filters.CharFilter(lookup_expr='iexact') | ||
library_strategy = django_filters.CharFilter(lookup_expr='iexact') | ||
|
||
class Meta: | ||
model = Experiment | ||
fields = ["id", "reference_registry_id", | ||
"experiment_type", "molecule", | ||
"library_strategy", "biosample"] |
Oops, something went wrong.