Skip to content

Commit

Permalink
Add 'pipelineVersion' to RawProcessedData
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Dec 12, 2024
1 parent 6357b10 commit 59df48a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ class SubmissionDatabaseService(
SequenceEntriesView.submittedAtTimestampColumn,
SequenceEntriesView.releasedAtTimestampColumn,
SequenceEntriesView.submissionIdColumn,
SequenceEntriesView.pipelineVersionColumn,
DataUseTermsTable.dataUseTermsTypeColumn,
DataUseTermsTable.restrictedUntilColumn,
)
Expand Down Expand Up @@ -610,6 +611,7 @@ class SubmissionDatabaseService(
null -> emptyProcessedDataProvider.provide(organism)
else -> processedDataPostprocessor.retrieveFromStoredValue(processedData, organism)
},
pipelineVersion = it[SequenceEntriesView.pipelineVersionColumn],
submittedAtTimestamp = it[SequenceEntriesView.submittedAtTimestampColumn],
releasedAtTimestamp = it[SequenceEntriesView.releasedAtTimestampColumn]!!,
dataUseTerms = DataUseTerms.fromParameters(
Expand Down Expand Up @@ -1206,5 +1208,6 @@ data class RawProcessedData(
val releasedAtTimestamp: LocalDateTime,
val submissionId: String,
val processedData: ProcessedData<GeneticSequence>,
val pipelineVersion: Long,
val dataUseTerms: DataUseTerms,
) : AccessionVersionInterface

0 comments on commit 59df48a

Please sign in to comment.