Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gru-npu consent group #645

Merged
merged 3 commits into from
Feb 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions kf_lib_data_ingest/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ class CONSENT_TYPE:
# not-for-profit organizations.
GRU = "GRU"
# General Research Use
GRU_NPU = "GRU-NPU"
# General Research Use (NPU) (GRU-NPU) - Use of this data is
# limited to general research use. Use of the data is limited to
# not-for-profit organizations.


class AUTHORITY:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
click==7.1.2
click>=8.0
jsonschema==3.2.0
pandas>=1.1,<1.3
PyYAML==5.4
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ingest_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_invalid_ingest_subset_stages(
cli_cmd, [simple_study_cfg, "--stages", stages_to_run_str]
)
assert result.exit_code == COMMAND_LINE_ERROR_CODE
assert "invalid choice" in result.output
assert "Invalid value" in result.output


def test_ingest_cmd_missing_required_args():
Expand Down