Skip to content

3710 Add support to set delimiter for CSV files and change default to comma#3711

Merged
Nic-Ma merged 8 commits intoProject-MONAI:devfrom
Nic-Ma:3710-enhance-csv-split
Jan 25, 2022
Merged

3710 Add support to set delimiter for CSV files and change default to comma#3711
Nic-Ma merged 8 commits intoProject-MONAI:devfrom
Nic-Ma:3710-enhance-csv-split

Conversation

@Nic-Ma
Copy link
Copy Markdown
Contributor

@Nic-Ma Nic-Ma commented Jan 25, 2022

Fixes #3710 .

Description

According to @holgerroth 's feedback, this PR added support to set delimiter for CSVSaver, ClassificationSaver, SaveClassificationd.
And changed the default value to comma in MetricsWriter handler.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Integration tests passed locally by running ./runtests.sh -f -u --net --coverage.
  • Quick tests passed locally by running ./runtests.sh --quick --unittests --disttests.
  • In-line docstrings updated.
  • Documentation updated, tested make html command in the docs/ folder.

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

/build

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

Added unit tests to cover the delimiter arg in all the components.

Thanks.

Signed-off-by: Nic Ma <[email protected]>
Copy link
Copy Markdown
Collaborator

@holgerroth holgerroth left a comment

Choose a reason for hiding this comment

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

LGTM

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

/build

@Nic-Ma Nic-Ma force-pushed the 3710-enhance-csv-split branch from d2110f0 to ca31255 Compare January 25, 2022 16:29
@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

/black

@Nic-Ma
Copy link
Copy Markdown
Contributor Author

Nic-Ma commented Jan 25, 2022

/build

@Nic-Ma Nic-Ma merged commit d36b835 into Project-MONAI:dev Jan 25, 2022
wyli pushed a commit that referenced this pull request Feb 9, 2022
… comma (#3711)

* [DLMED] add support to config delimiter

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix typo

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request Feb 9, 2022
… comma (#3711)

* [DLMED] add support to config delimiter

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix typo

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
wyli pushed a commit that referenced this pull request Feb 9, 2022
… comma (#3711)

* [DLMED] add support to config delimiter

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] fix typo

Signed-off-by: Nic Ma <[email protected]>

* [DLMED] update according to comments

Signed-off-by: Nic Ma <[email protected]>
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.

Optional split mark for CSV files

3 participants