Repo to keep information about the GDC data model design.
To install the gdcdatamodel library run the setup script:
❯ python setup.py install
It's helpful to examine the relationships between nodes visually. One
way to do this is to run a Jupyter notebook with a Python2 kernel.
When used with Graphviz's SVG support, you can view a graphical
representation of a subgraph directly in a REPL. To do so, install the
dev-requirements.txt
dependencies. There is an example Jupyter
notebook at examples/jupyter_example.ipynb
(replicated in
examples/jupyter_example.py
for clarity)
pip install -r dev-requirements
PG_USER=* PG_HOST=* PG_DATABASE=* PG_PASSWORD=* jupyter notebook examples/jupyter_example.ipynb
For instructions on how to build the Graphviz representation of the datamodel, see the docs readme.
Before continuing you must have the following programs installed:
The gdcdatamodel library requires the following pip dependencies
Project dependencies are managed using PIP
``` from gdcdatamodel import node_avsc_object from gdcdatamodel.mappings import get_participant_es_mapping, get_file_es_mapping from avro.io import validate import json
with open('examples/nodes/aliquot_valid.json', 'r') as f: node = json.loads(f.read()) print validate(node_avsc_object, node) # if valid, prints True
print(get_participant_es_mapping()) # Prints participant elasticsearch mapping print(get_file_es_mapping()) # Prints file elasticsearch mapping ```
``` ❯ nosetests -v test_invalid_aliquot_node (test_avro_schemas.TestAvroSchemaValidation) ... ok test_valid_aliquot_node (test_avro_schemas.TestAvroSchemaValidation) ... ok
Ran 2 tests in 0.033s
OK ```
We use pre-commit to setup pre-commit hooks for this repo. We use detect-secrets to search for secrets being committed into the repo.
To install the pre-commit hook, run
pre-commit install
To update the .secrets.baseline file run
detect-secrets scan --update .secrets.baseline
.secrets.baseline
contains all the string that were caught by detect-secrets but are not stored in plain text. Audit the baseline to view the secrets .
detect-secrets audit .secrets.baseline
Read how to contribute here
Bumps ipython from 7.9.0 to 8.10.0.
Sourced from ipython's releases.
See https://pypi.org/project/ipython/
We do not use GitHub release anymore. Please see PyPI https://pypi.org/project/ipython/
15ea1ed
release 8.10.0560ad10
DOC: Update what's new for 8.10 (#13939)7557ade
DOC: Update what's new for 8.10385d693
Merge pull request from GHSA-29gw-9793-fvw7e548ee2
Swallow potential exceptions from showtraceback() (#13934)0694b08
MAINT: mock slowest test. (#13885)8655912
MAINT: mock slowest test.a011765
Isolate the attack tests with setUp and tearDown methodsc7a9470
Add some regression tests for this changefd34cf5
Swallow potential exceptions from showtraceback()Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps jupyter-core from 4.6.3 to 4.11.2.
Sourced from jupyter-core's releases.
4.11.1
What's Changed
- Fix inclusion of jupyter file and check in CI by
@blink1073
in jupyter/jupyter_core#276Full Changelog: https://github.com/jupyter/jupyter_core/compare/4.11.0...4.11.1
4.11.0
What's Changed
- Use hatch backend by
@blink1073
in jupyter/jupyter_core#265- is_hidden: Use normalized paths by
@martinRenou
in jupyter/jupyter_core#271New Contributors
@martinRenou
made their first contribution in jupyter/jupyter_core#271Full Changelog: https://github.com/jupyter/jupyter_core/compare/4.10.0...4.11.0
4.10.0
What's Changed
- Update changelog for 4.9.2 by
@blink1073
in jupyter/jupyter_core#252- Include all files from
jupyter_core
by@jonringer
in jupyter/jupyter_core#253- Add project URLs to setup.cfg by
@tlinhart
in jupyter/jupyter_core#254- Set up pre-commit by
@blink1073
in jupyter/jupyter_core#255- [pre-commit.ci] pre-commit autoupdate by
@pre-commit-ci
in jupyter/jupyter_core#257- Add flake8 and mypy settings by
@blink1073
in jupyter/jupyter_core#256- Clean up CI by
@blink1073
in jupyter/jupyter_core#258- Update changelog for 4.10 Release by
@blink1073
in jupyter/jupyter_core#259New Contributors
@jonringer
made their first contribution in jupyter/jupyter_core#253@tlinhart
made their first contribution in jupyter/jupyter_core#254@pre-commit-ci
made their first contribution in jupyter/jupyter_core#257Full Changelog: https://github.com/jupyter/jupyter_core/compare/4.9.2...4.10.0
4.9.2
What's Changed
- set proper sys.argv[0] for subcommand by
@bnavigator
in jupyter/jupyter_core#248- Add explicit encoding in open calls by
@dlukes
in jupyter/jupyter_core#249- jupyter_config_dir - reorder home_dir initialization by
@dharmaquark
in jupyter/jupyter_core#251New Contributors
@bnavigator
made their first contribution in jupyter/jupyter_core#248@dlukes
made their first contribution in jupyter/jupyter_core#249@dharmaquark
made their first contribution in jupyter/jupyter_core#251Full Changelog: https://github.com/jupyter/jupyter_core/compare/4.9.1...4.9.2
Sourced from jupyter-core's changelog.
Changes in jupyter-core
5.1.2
Maintenance and upkeep improvements
- Add spell check and ensure docstrings #327 (
@blink1073
)- Maint: Some more precise typing. #326 (
@Carreau
)Documentation improvements
- Add api docs #328 (
@blink1073
)Contributors to this release
(GitHub contributors page for this release)
5.1.1
Enhancements made
Bugs fixed
Maintenance and upkeep improvements
- Fix lint #325 (
@blink1073
)- Adopt ruff and address lint #321 (
@blink1073
)Contributors to this release
(GitHub contributors page for this release)
@blink1073
|@jasongrout
|@minrk
|@pre-commit-ci
5.1.0
... (truncated)
a8eac8c
Release 4.11.21118c8c
Merge pull request from GHSA-m678-f26j-3hrpd3f61f3
Release 4.11.1e7eeb9e
Fix inclusion of jupyter file and check in CI (#276)035bf11
Release 4.11.045aa28b
[pre-commit.ci] pre-commit autoupdate (#273)73401cc
[pre-commit.ci] pre-commit autoupdate (#272)bc6b771
is_hidden: Use normalized paths (#271)be38e52
[pre-commit.ci] pre-commit autoupdate (#270)7b790d8
[pre-commit.ci] pre-commit autoupdate (#269)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Bumps pyyaml from 5.3.1 to 5.4.
Sourced from pyyaml's changelog.
5.4 (2021-01-19)
- yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
- yaml/pyyaml#472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
- yaml/pyyaml#441 -- Fix memory leak in implicit resolver setup
- yaml/pyyaml#392 -- Fix py2 copy support for timezone objects
- yaml/pyyaml#378 -- Fix compatibility with Jython
58d0cb7
5.4 releasea60f7a1
Fix compatibility with Jythonee98abd
Run CI on PR base branch changesddf2033
constructor.timezone: _copy & deepcopyfc914d5
Avoid repeatedly appending to yaml_implicit_resolversa001f27
Fix for CVE-2020-14343fe15062
Add 3.9 to appveyor file for completeness sake1e1c7fb
Add a newline character to end of pyproject.toml0b6b7d6
Start sentences and phrases for capital lettersc976915
Shell code improvementsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Severity | Priority Score () | Issue | Upgrade | Breaking Change | Exploit Maturity
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------
| 608/1000
Why?* Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 4.3 | Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PY-1049546 | py:
1.8.1 -> 1.10.0
| No | Proof of Concept
(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the effected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📚 Read more about Snyk's upgrade and patch logic
Full Changelog: https://github.com/NCI-GDC/gdcdatamodel/compare/3.5.0-rc.0...3.6.5
Full Changelog: https://github.com/NCI-GDC/gdcdatamodel/compare/3.4.3-rc.2...3.5.0-rc.0
Full Changelog: https://github.com/NCI-GDC/gdcdatamodel/compare/3.4.2...3.4.3-rc.2
Full Changelog: https://github.com/NCI-GDC/gdcdatamodel/compare/3.4.1...3.4.2-rc.2
core library