Skip to content

Commit

Permalink
add rg to all job schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dsclassen committed Oct 27, 2024
1 parent fe44321 commit e8f35a0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.17.0
v20.18.0
5 changes: 5 additions & 0 deletions src/interfaces/jobInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ interface IBilboMDPDBJob extends IJob {
pdb_file: string
const_inp_file: string
conformational_sampling: number
rg: number
rg_min: number
rg_max: number
}
Expand All @@ -92,6 +93,7 @@ interface IBilboMDCRDJob extends IJob {
pdb_file?: string
const_inp_file: string
conformational_sampling: number
rg: number
rg_min: number
rg_max: number
}
Expand All @@ -103,6 +105,7 @@ interface IBilboMDAutoJob extends IJob {
pae_file: string
const_inp_file?: string
conformational_sampling: number
rg?: number
rg_min?: number
rg_max?: number
}
Expand All @@ -116,6 +119,7 @@ interface IBilboMDAlphaFoldJob extends IJob {
pae_file?: string
const_inp_file?: string
conformational_sampling: number
rg?: number
rg_min?: number
rg_max?: number
}
Expand All @@ -127,6 +131,7 @@ interface IBilboMDSANSJob extends IJob {
const_inp_file: string
conformational_sampling: number
d2o_fraction: number
rg: number
rg_min: number
rg_max: number
deuteration_fractions: Map<string, number>
Expand Down
5 changes: 5 additions & 0 deletions src/models/Job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const bilboMdPDBJobSchema = new Schema<IBilboMDPDBJob>({
enum: [1, 2, 3, 4],
default: 1
},
rg: { type: Number, required: true, min: 10, max: 100 },
rg_min: { type: Number, required: true, min: 10, max: 100 },
rg_max: { type: Number, required: true, min: 10, max: 100 }
})
Expand All @@ -122,6 +123,7 @@ const bilboMdCRDJobSchema = new Schema<IBilboMDCRDJob>({
enum: [1, 2, 3, 4],
default: 1
},
rg: { type: Number, required: true, min: 10, max: 100 },
rg_min: { type: Number, required: true, min: 10, max: 100 },
rg_max: { type: Number, required: true, min: 10, max: 100 }
})
Expand All @@ -137,6 +139,7 @@ const bilboMdAutoJobSchema = new Schema<IBilboMDAutoJob>({
enum: [1, 2, 3, 4],
default: 1
},
rg: { type: Number, required: false, min: 10, max: 100 },
rg_min: { type: Number, required: false, min: 10, max: 100 },
rg_max: { type: Number, required: false, min: 10, max: 100 }
})
Expand All @@ -154,6 +157,7 @@ const bilboMdAlphaFoldJobSchema = new Schema<IBilboMDAlphaFoldJob>({
enum: [1, 2, 3, 4],
default: 1
},
rg: { type: Number, required: false, min: 10, max: 100 },
rg_min: { type: Number, required: false, min: 10, max: 100 },
rg_max: { type: Number, required: false, min: 10, max: 100 }
})
Expand All @@ -168,6 +172,7 @@ const bilboMdSANSJobSchema = new Schema<IBilboMDSANSJob>({
enum: [1, 2, 3, 4],
default: 1
},
rg: { type: Number, required: true, min: 10, max: 100 },
rg_min: { type: Number, required: true, min: 10, max: 100 },
rg_max: { type: Number, required: true, min: 10, max: 100 },
d2o_fraction: { type: Number, required: true },
Expand Down

0 comments on commit e8f35a0

Please sign in to comment.