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

modify radx pipeline #111

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
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
12 changes: 11 additions & 1 deletion dags/roger/pipelines/radx.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
"Pipeline for BACPAC data"

from roger.pipelines import DugPipeline
from roger.core import storage


class RadxPipeline(DugPipeline):
"Pipeline for BACPAC data set"
"Pipeline for Radx data set"
pipeline_name = "radx"
parser_name = "radx"

def get_objects(self, input_data_path=None):
if not input_data_path:
input_data_path = storage.dug_kfdrc_path()
files = storage.get_files_recursive(
lambda file_name: file_name.endswith('.json'),
input_data_path)
return sorted([str(f) for f in files])
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ redisgraph-bulk-loader==0.12.3
setuptools>=66
pytest
PyYAML
git+https://github.com/helxplatform/dug@2.13.4
git+https://github.com/helxplatform/dug@radx-v1
orjson
kg-utils==0.0.6
bmt==1.1.0
Expand Down
Loading