Skip to content

Commit

Permalink
dataset text fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlebl committed Aug 15, 2024
1 parent 2e5acd3 commit e631bfb
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions nomad-rest-api/tests/fixtures/data/datasets.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,25 @@ export const testDatasetOne = {
smiles: ['C1(CCC(O1)C=CC)'],
createdAt: moment().subtract(4, 'days'),
nmriumData: {
version: 7,

data: {
spectra: [
{
id: testExpOne._id,
info: { type: 'NMR Spectrum', isFid: false },
dataType: 'auto'
dataType: 'auto',
display: {
dimension: 1
}
},
{
id: testExpOne._id.toString() + '/fid/12345',
info: { type: 'NMR FID', isFid: true },
dataType: 'auto'
dataType: 'auto',
display: {
dimension: 1
}
}
],
molecules: [{ molfile }]
Expand All @@ -52,12 +60,18 @@ export const testDatasetTwo = {
{
id: testExpOne._id,
info: { type: 'NMR Spectrum', isFid: false },
dataType: 'auto'
dataType: 'auto',
display: {
dimension: 1
}
},
{
id: testExpOne._id.toString() + '/fid/12345',
info: { type: 'NMR FID', isFid: true },
dataType: 'auto'
dataType: 'auto',
display: {
dimension: 1
}
}
],
molecules: []
Expand Down

0 comments on commit e631bfb

Please sign in to comment.