Skip to content

Commit

Permalink
gradient bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiweler committed Dec 5, 2019
1 parent 7213130 commit 3d509d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/load_meta_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ flatten_json <- function(json)
assertive.types::assert_is_list(json)

group_count <- group_count(json)
for(group_numb in group_count)
for(group_numb in seq_len(group_count))
{
if(!is.na(json [["Group"]][[group_numb]][["Instruments"]][["Thermo EASY-nLC"]][["Method"]][["Gradient"]][[group_numb]]["Time [mm:ss]"]))
if(is.element("Gradient", names(json [["Group"]][[group_numb]][["Instruments"]][["Thermo EASY-nLC"]][["Method"]])))
{
time <- c()
duration <- c()
Expand Down

0 comments on commit 3d509d6

Please sign in to comment.