Commit 6689ded3 authored by bow's avatar bow
Browse files

Rename RunRecord.name -> RunRecord.runName

parent e3d4b41f
......@@ -25,7 +25,7 @@ import org.bson.types.ObjectId
@Salat abstract class BaseRunRecord {
/** Run name. */
def name: Option[String]
def runName: Option[String]
/** Database run ID. */
def runId: ObjectId
......@@ -63,7 +63,7 @@ case class RunRecord(
nSamples: Int,
nLibs: Int,
creationTimeUtc: Date,
name: Option[String] = None,
runName: Option[String] = None,
deletionTimeUtc: Option[Date] = None,
sampleIds: Seq[ObjectId] = Seq(),
refId: Option[ObjectId] = None,
......
......@@ -237,7 +237,7 @@ class GentrapV04InputProcessor(protected val mongo: MongodbAccessObject)
runId = fileId, // NOTE: runId kept intentionally the same as fileId
refId = Option(refId),
annotIds = Option(annotIds),
name = runName,
runName = runName,
sampleIds = samples.map(_.id),
creationTimeUtc = getUtcTimeNow,
uploaderId = user.id,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment