Skip to content

create splti.py#48

Merged
edsu7 merged 3 commits intomainfrom
split_script
Mar 20, 2026
Merged

create splti.py#48
edsu7 merged 3 commits intomainfrom
split_script

Conversation

@edsu7
Copy link
Copy Markdown
Contributor

@edsu7 edsu7 commented Mar 3, 2026

No description provided.

@edsu7 edsu7 requested review from hknahal and lindaxiang March 3, 2026 20:51
Comment thread scripts/split.py Outdated
Comment thread scripts/split.py Outdated
- strict file typing on size
- export according to original input type
@edsu7 edsu7 requested a review from hknahal March 4, 2026 20:28
Copy link
Copy Markdown
Contributor

@hknahal hknahal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Parsing error resolved and "help" text updated

@@ -0,0 +1,3 @@
study_id submitter_participant_id age_at_enrollment vital_status cause_of_death age_at_death
EXAMPLE-CA DONOR_5 Deceased Died of cancer 21.0
EXAMPLE-CA DONOR_6
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these files purposely submitted here?

Comment thread scripts/split.py
parser.add_argument('-i', '--input', dest="input", help="The custom schema that makes references to extension and base schemas", required=True,type=str)
parser.add_argument('-s', '--size', dest="size", help="Number of records the file should be divided into", default=True,type=int)
parser.add_argument('-o', '--output_directory', dest="out_dir", help="The main directory containing folders : Base, Extension, Custom", default=True,type=str)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The descriptions for parameters in help still seem to be confusion.
-- input: "The custom schema that makes references to extension and base schemas", is it correct?
-- size: "default=True", should it be a integer?
--output_directory: "The main directory containing folders : Base, Extension, Custom", is it correct?
"default=True", should it be a string?

@edsu7 edsu7 requested a review from lindaxiang March 17, 2026 20:49
@edsu7 edsu7 merged commit 439d0fa into main Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants