Skip to content

Commit

Permalink
Merge branch 'master' into kmp_pytest_4-5-0_prep
Browse files Browse the repository at this point in the history
  • Loading branch information
netsettler committed Jul 10, 2020
2 parents 6fc9acd + 72ee835 commit d896237
Show file tree
Hide file tree
Showing 33 changed files with 1,820 additions and 730 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ before_install:
install:
- pip install --upgrade pip
- pip install poetry
- pip install coveralls
- pip install codacy-coverage
- poetry install
- make npm-setup
before_script:
Expand Down
132 changes: 96 additions & 36 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
# Note: Various modules refer to this system as "encoded", not "cgap-portal".
name = "encoded"
version = "2.1.7"
version = "2.1.11"
description = "Clinical Genomics Analysis Platform"
authors = ["4DN-DCIC Team <[email protected]>"]
license = "MIT"
Expand Down Expand Up @@ -115,7 +115,9 @@ xlwt = "1.2.0"
"zope.sqlalchemy" = "1.3"

[tool.poetry.dev-dependencies]
coverage = "4.0.3"
coverage = ">=5.2"
codacy-coverage = ">=1.3.11"
coveralls = ">=2.1.1"
flake8 = "^3.7.8"
flaky = "3.6.1"
# flask only for moto[server]
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[flake8]
max-line-length = 100
max-line-length = 160
[coverage:run]
branch = True
omit =
omit =
*/encode_schemas/*
*/encode_types/*
*/tests/*
Expand Down
6 changes: 3 additions & 3 deletions src/encoded/commands/create_mapping_on_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
'AccessKey',
'Cohort',
'Family',
'FilterSet',
'Nexus',
'User',
'Workflow',
'WorkflowMapping',
'WorkflowRun',
'WorkflowRunAwsem',
'VariantConsequence',
'Disorder',
'FileFormat',
'FileFastq',
'FileProcessed',
Expand All @@ -36,7 +37,6 @@
'Disorder',
'Individual',
'Case',
'FilterSet',
'Report',
'Document',
'QualityMetricBamcheck',
Expand All @@ -46,12 +46,12 @@
'QualityMetricCmphet',
'QualityMetricWorkflowrun',
'QualityMetricVcfcheck',
'QualityMetricVcfqc',
'TrackingItem',
'Software',
'Sample',
'SampleProcessing',
'StaticSection',
'Document',
'Page',
'AnnotationField',
'Variant',
Expand Down
13 changes: 1 addition & 12 deletions src/encoded/loadxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,10 @@ def includeme(config):

# order of items references with linkTo in a field in 'required' in schemas
ORDER = [
'user',
'project',
'institution',
'user',
'file_format',
'phenotype',
'disorder',
# 'variant_consequence',
# 'variant', # links to ^ variant_consequence
# 'variant_sample', # links to ^ variant
'cohort',
'family',
'individual',
'case',
'report',
'sample',
'workflow',
]

Expand Down
12 changes: 12 additions & 0 deletions src/encoded/schemas/case.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
"description": "Description of the case",
"type": "string"
},
"family": {
"title": "Family",
"description": "Primary family this case is associated with",
"type": "string",
"linkTo": "Family"
},
"individual": {
"title": "Individual",
"description": "The individual who comprises the case",
Expand All @@ -50,6 +56,12 @@
"description": "The report generated from this case",
"type": "string",
"linkTo": "Report"
},
"cohort": {
"title" : "Cohort",
"description": "Cohort of the family",
"type" : "string",
"linkTo": "Nexus"
}
}
}
Loading

0 comments on commit d896237

Please sign in to comment.