Skip to content

Commit

Permalink
Update #97
Browse files Browse the repository at this point in the history
  • Loading branch information
samWieczorek committed Dec 25, 2024
1 parent 95dba18 commit 4fdcc87
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions inst/workflow/PipelineProtein/R/PipelineProtein_Normalization.R
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,12 @@ PipelineProtein_Normalization_server <- function(id,
type = 'error' )
} else {

new.dataset <- rv$dataIn[[length(rv$dataIn)]]
assay(new.dataset) <- rv.custom$tmpAssay
DaparToolshed::paramshistory(new.dataset) <- NULL
DaparToolshed::paramshistory(new.dataset) <- rv.custom$history
rv$dataIn <- QFeatures::addAssay(rv$dataIn, new.dataset, 'Normalization')


# DO NOT MODIFY THE THREE FOLLOWING LINES
dataOut$trigger <- MagellanNTK::Timestamp()
Expand Down Expand Up @@ -594,11 +600,6 @@ PipelineProtein_Normalization_server <- function(id,
req(rv.custom$tmpAssay)
req(rv.custom$history)

new.dataset <- rv$dataIn[[length(rv$dataIn)]]
assay(new.dataset) <- rv.custom$tmpAssay
DaparToolshed::paramshistory(new.dataset) <- NULL
DaparToolshed::paramshistory(new.dataset) <- rv.custom$history
rv$dataIn <- QFeatures::addAssay(rv$dataIn, new.dataset, 'Normalization')


# DO NOT MODIFY THE THREE FOLLOWINF LINES
Expand Down

0 comments on commit 4fdcc87

Please sign in to comment.