Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mnakano committed Apr 24, 2023
1 parent 28c71bb commit f8b76b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db/models/data-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,15 @@ const dataObjectSchema = new Schema(

const DataObject = mongoose.model("DataObject", dataObjectSchema);

// Data objects without genome tools and references.
// Currently used to represent ToxicoSets, XevaSets, ClinicalGenomics and ICB data objects
const BaseDataObject = DataObject.discriminator(
'BaseDataObject',
new Schema()
);

// Data objects without genome tools and references.
// Currently used to represent PSets and RadioSets.
const GenomeDataObject = DataObject.discriminator(
'GenomeDataObject',
new Schema(
Expand Down

0 comments on commit f8b76b1

Please sign in to comment.