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

95 update mc6_mthds with fval and fval_unit drops #102

Merged
merged 4 commits into from
Jul 31, 2023

Conversation

cthunes
Copy link
Contributor

@cthunes cthunes commented Jul 25, 2023

Dropped fval and fval_unit columns from invitrodb.mc6 and logged changes in schema_changes.

Updated m6_mthds.R methods to not include those columns. Tested with mc(ae=2). Closes #95.

@cthunes cthunes self-assigned this Jul 25, 2023
Copy link
Collaborator

@madison-feshuk madison-feshuk left a comment

Choose a reason for hiding this comment

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

This looks good, but dropped column caused error with tcplLoadData: https://github.com/USEPA/CompTox-ToxCast-tcpl/blob/main/R/tcplLoadData.R#L690. Individual columns are selected opposed to whole table

mc6 <- tcplPrepOtpt(tcplLoadData(lvl=6, fld='m4id', val=mc5$m4id, type='mc'))
Error: Unknown column 'fval' in 'field list' [1054]

Copy link
Contributor

@Kelly-Carstens-EPA Kelly-Carstens-EPA left a comment

Choose a reason for hiding this comment

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

Successfully pipelined data into lvl6 in 'invitrodb_test' and loaded the mc6 data with tcplLoadData().

cthunes and others added 2 commits July 27, 2023 16:56
@cthunes
Copy link
Contributor Author

cthunes commented Jul 27, 2023

Merged new mc6 method in main and then rebased this branch so I could make the fval changes to the new method. The new method is now updated like the others

Copy link
Collaborator

@madison-feshuk madison-feshuk left a comment

Choose a reason for hiding this comment

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

Looks good!

@cthunes cthunes merged commit 296b79a into main Jul 31, 2023
1 check passed
@cthunes cthunes deleted the 95-remove-mc5-fval-and-fval-unit-columns branch July 31, 2023 13:26
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.

Remove mc6 fval and fval_unit columns
3 participants