Skip to content

Commit

Permalink
add reminder to check for valid SDFs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aariq committed Oct 26, 2023
1 parent 47d3914 commit 5c438d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/calc_vol.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ calc_vol <-
if(from == "smiles") {
compound_sdf_list <- lapply(input, ChemmineR::smiles2sdf)
}

#TODO use ChemmineR::validSDF() to check for any invalid inputs
# Warn and return NA for any that aren't valid??
fx_groups_df_list <-
lapply(compound_sdf_list, get_fx_groups)
names(fx_groups_df_list) <- input
Expand Down

0 comments on commit 5c438d6

Please sign in to comment.