Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #127 from umccr/bugfix/valdiation-logic-update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl authored Aug 13, 2023
2 parents 16a27cb + 56f87ff commit 0acf166
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion deploy/cttso-ica-to-pieriandx-cdk/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ are nested under deploy/cttso-ica-to-pieriandx-cdk.
* Updated submission columns

### Hot fix
### Hot fixes

* Updated submission column [#124](https://github.com/umccr/cttso-ica-to-pieriandx/pull/124) (fixes [#123](https://github.com/umccr/cttso-ica-to-pieriandx/issues/123))
* Update is_validation logic [#127](https://github.com/umccr/cttso-ica-to-pieriandx/pull/127) (fixes [#126](https://github.com/umccr/cttso-ica-to-pieriandx/issues/126))

## 2023-08-09

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ def get_libraries_for_processing(merged_df) -> pd.DataFrame:
to_process_df["is_validation_sample"] = to_process_df.apply(
lambda x: True
if x.glims_is_validation is True
and (
pd.isnull(x.redcap_is_complete) or
not x.redcap_is_complete.lower() == "complete"
or x.redcap_sample_type.lower() == "validation"
or (
not pd.isnull(x.redcap_is_complete)
and x.redcap_is_complete.lower() == "complete"
and x.redcap_sample_type.lower() == "validation"
)
else False,
axis="columns"
Expand Down

0 comments on commit 0acf166

Please sign in to comment.