You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTION.md
+15-81Lines changed: 15 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,21 @@ Please note we have a code of conduct, please follow it in all your interactions
16
16
17
17
### Setup Project for Development and Testing
18
18
19
-
1. Follow the package setup instructions on the main README till the [`Clone Project Repository`](README.m#131-clone-project-repository) step.
20
-
2. If you are a `schematic` package contributor you don't need to create a `venv` virtual environment, `poetry` will create a virtual environment by default, which you can use.
21
-
3. Running the following command reads the [`pyproject.toml`](https://github.com/Sage-Bionetworks/schematic/blob/develop/pyproject.toml) file from the current project, resolves the dependencies and installs them: `poetry install`
22
-
4. Obtain credentials file(s) by following same instructions as in the [`1.3.4. Obtain Credentials File(s)`](README.md#134-obtain-credentials-files) section.
23
-
5. Fill in configuration file(s) in the same way as specified in the [`1.3.5. Fill in Configuration File(s)`](README.md#135-fill-in-configuration-files).
24
-
6. To run any of the CLI utilities shown in the [`1.3.6. Command Line Interface`](README.md#136-command-line-interface), prefix the commands with `poetry run`.
5.[Obtain](https://sage-schematic.readthedocs.io/en/develop/README.html#obtain-google-credentials-file-s) appropriate Google credentials file(s).
30
+
6.[Obtain and Fill in](https://sage-schematic.readthedocs.io/en/develop/README.html#fill-in-configuration-file-s) the `config.yml` file and the `.synapseConfig` file as well as described in the `Fill in Configuration File(s)` part of the documentation.
31
+
7.[Run](https://docs.pytest.org/en/stable/usage.html) the test suite.
32
+
33
+
Note: To ensure that all tests run successfully, contact your DCC liason and request to be added to the `schematic-dev`[team](https://www.synapse.org/#!Team:3419888) on Synapse.
25
34
26
35
## Pull Request Process
27
36
@@ -48,78 +57,3 @@ Please note we have a code of conduct, please follow it in all your interactions
48
57
http://google.github.io/styleguide/pyguide.html
49
58
50
59
* Be consistent and follow existing code conventions and spirit.
51
-
52
-
## Code of Conduct
53
-
54
-
### Our Pledge
55
-
56
-
In the interest of fostering an open and welcoming environment, we as
57
-
contributors and maintainers pledge to making participation in our project and
58
-
our community a harassment-free experience for everyone, regardless of age, body
59
-
size, disability, ethnicity, gender identity and expression, level of experience,
60
-
nationality, personal appearance, race, religion, or sexual identity and
61
-
orientation.
62
-
63
-
### Our Standards
64
-
65
-
Examples of behavior that contributes to creating a positive environment
66
-
include:
67
-
68
-
* Using welcoming and inclusive language
69
-
* Being respectful of differing viewpoints and experiences
70
-
* Gracefully accepting constructive criticism
71
-
* Focusing on what is best for the community
72
-
* Showing empathy towards other community members
73
-
74
-
Examples of unacceptable behavior by participants include:
75
-
76
-
* The use of sexualized language or imagery and unwelcome sexual attention or
77
-
advances
78
-
* Trolling, insulting/derogatory comments, and personal or political attacks
79
-
* Public or private harassment
80
-
* Publishing others' private information, such as a physical or electronic
81
-
address, without explicit permission
82
-
* Other conduct which could reasonably be considered inappropriate in a
83
-
professional setting
84
-
85
-
### Our Responsibilities
86
-
87
-
Project maintainers are responsible for clarifying the standards of acceptable
88
-
behavior and are expected to take appropriate and fair corrective action in
89
-
response to any instances of unacceptable behavior.
90
-
91
-
Project maintainers have the right and responsibility to remove, edit, or
92
-
reject comments, commits, code, wiki edits, issues, and other contributions
93
-
that are not aligned to this Code of Conduct, or to ban temporarily or
94
-
permanently any contributor for other behaviors that they deem inappropriate,
95
-
threatening, offensive, or harmful.
96
-
97
-
### Scope
98
-
99
-
This Code of Conduct applies both within project spaces and in public spaces
100
-
when an individual is representing the project or its community. Examples of
101
-
representing a project or community include using an official project e-mail
102
-
address, posting via an official social media account, or acting as an appointed
103
-
representative at an online or offline event. Representation of a project may be
104
-
further defined and clarified by project maintainers.
105
-
106
-
### Enforcement
107
-
108
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
109
-
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
110
-
complaints will be reviewed and investigated and will result in a response that
111
-
is deemed necessary and appropriate to the circumstances. The project team is
112
-
obligated to maintain confidentiality with regard to the reporter of an incident.
113
-
Further details of specific enforcement policies may be posted separately.
114
-
115
-
Project maintainers who do not follow or enforce the Code of Conduct in good
116
-
faith may face temporary or permanent repercussions as determined by other
117
-
members of the project's leadership.
118
-
119
-
### Attribution
120
-
121
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
122
-
available at [http://contributor-covenant.org/version/1/4][version]
SCHEMATIC is an acronym for _Schema Engine for Manifest Ingress and Curation_. The Python based infrastructure provides a _novel_ schema-based, data ingress ecosystem, that is meant to streamline the process of metadata annotation and validation for various data contributors.
6
+
SCHEMATIC is an acronym for _Schema Engine for Manifest Ingress and Curation_. The Python based infrastructure provides a _novel_ schema-based, data ingress ecosystem, that is meant to streamline the process of dataset annotation, metadata validation and submission to an asset store for various data contributors.
Note: You need to be a registered and certified user on [`synapse.org`](https://www.synapse.org/), and also have the right permissions to download the Google credentials files from Synapse.
13
+
14
+
## Installing
15
+
16
+
Create and activate a virtual environment within which you can install the package:
17
+
18
+
```
19
+
python -m venv .venv
20
+
source .venv/bin/activate
21
+
```
23
22
24
-
**Important**: You need to be a registered and certified user on [`synapse.org`](https://www.synapse.org/), and also have the right permissions to download the Google credentials files from Synapse.
23
+
Install and update the package using [pip](https://pip.pypa.io/en/stable/quickstart/):
*[Metadata Manifest Validation and Submission](https://sage-schematic.readthedocs.io/en/develop/cli_reference.html#schematic-model-submit) (_submission and optional validation of metadata manifest (.csv) files_)
47
+
### Model
44
48
45
-
Refer to the [docs](https://github.com/Sage-Bionetworks/schematic/tree/develop/docs/md/details.md) for more details.
49
+
```
50
+
schematic model --config ~/path/to/config.yml submit # validate and submit manifest
0 commit comments