Rename genbank and accession

This commit is contained in:
Matthew Dillon 2015-04-24 08:24:07 -08:00
parent 96def1539b
commit 3de9794106
3 changed files with 17 additions and 21 deletions

View file

@ -6,8 +6,8 @@ export default DS.Model.extend({
speciesName: DS.attr('string'), speciesName: DS.attr('string'),
strainName: DS.attr('string'), strainName: DS.attr('string'),
typeStrain: DS.attr('boolean'), typeStrain: DS.attr('boolean'),
accessionBanks: DS.attr('string'), accessionNumbers: DS.attr('string'),
genbankEmblDdb: DS.attr('string'), genbank: DS.attr('string'),
isolatedFrom: DS.attr('string'), isolatedFrom: DS.attr('string'),
notes: DS.attr('string'), notes: DS.attr('string'),
createdAt: DS.attr('date'), createdAt: DS.attr('date'),

View file

@ -16,12 +16,12 @@
{{! ROW 2 }} {{! ROW 2 }}
<div class="grid-4"> <div class="grid-4">
<dl class="span-2"> <dl class="span-2">
<dt>Accession Banks</dt> <dt>Accession Numbers</dt>
<dd>{{model.accessionBanks}}</dd> <dd>{{model.accessionNumbers}}</dd>
</dl> </dl>
<dl class="span-2"> <dl class="span-2">
<dt>Genbank</dt> <dt>Genbank</dt>
<dd>{{model.genbankEmblDdb}}</dd> <dd>{{model.genbank}}</dd>
</dl> </dl>
</div> </div>
{{! ROW 3 }} {{! ROW 3 }}

View file

@ -8,68 +8,64 @@ module.exports = function(app) {
speciesName: "Species One", speciesName: "Species One",
strainName: "ABC", strainName: "ABC",
typeStrain: true, typeStrain: true,
etymology: "Test Etymology", accessionNumbers: "Test Accession",
accessionBanks: "Test Accession", genbank: "Test Genbank",
genbankEmblDdb: "Test Genbank",
isolatedFrom: "Location 1", isolatedFrom: "Location 1",
measurements: [1,2,3,4,5], measurements: [1,2,3,4,5],
createdAt: "0001-01-01T00:00:00Z", createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z", updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null, deletedAt: null,
author: 1, author: 1,
notes: "Test notes",
totalMeasurements: 5, totalMeasurements: 5,
notes: "Test notes",
}, },
{ {
id: 2, id: 2,
speciesName: "Species Two", speciesName: "Species Two",
strainName: "XYZ", strainName: "XYZ",
typeStrain: false, typeStrain: false,
etymology: "Test Etymology", accessionNumbers: "Test Accession",
accessionBanks: "Test Accession", genbank: "Test Genbank",
genbankEmblDdb: "Test Genbank",
isolatedFrom: "Location 2", isolatedFrom: "Location 2",
measurements: [6,7,8,9,10], measurements: [6,7,8,9,10],
createdAt: "0001-01-01T00:00:00Z", createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z", updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null, deletedAt: null,
notes: "Test notes",
author: 3, author: 3,
totalMeasurements: 5, totalMeasurements: 5,
notes: "Test notes",
}, },
{ {
id: 3, id: 3,
speciesName: "Species Three", speciesName: "Species Three",
strainName: "QRS", strainName: "QRS",
typeStrain: true, typeStrain: true,
etymology: "Test Etymology", accessionNumbers: "Test Accession",
accessionBanks: "Test Accession", genbank: "Test Genbank",
genbankEmblDdb: "Test Genbank",
isolatedFrom: "Location 1", isolatedFrom: "Location 1",
measurements: [], measurements: [],
createdAt: "0001-01-01T00:00:00Z", createdAt: "0001-01-01T00:00:00Z",
updatedAt: "0001-01-01T00:00:00Z", updatedAt: "0001-01-01T00:00:00Z",
notes: "Test notes",
deletedAt: null, deletedAt: null,
author: 1, author: 1,
totalMeasurements: 0, totalMeasurements: 0,
notes: "Test notes",
}, },
{ {
id: 4, id: 4,
speciesName: "Species Four", speciesName: "Species Four",
strainName: "LMN", strainName: "LMN",
typeStrain: true, typeStrain: true,
etymology: "Test Etymology", accessionNumbers: "Test Accession",
accessionBanks: "Test Accession", genbank: "Test Genbank",
genbankEmblDdb: "Test Genbank",
isolatedFrom: "Location 2", isolatedFrom: "Location 2",
measurements: [], measurements: [],
createdAt: "0001-01-01T00:00:00Z", createdAt: "0001-01-01T00:00:00Z",
notes: "Test notes",
updatedAt: "0001-01-01T00:00:00Z", updatedAt: "0001-01-01T00:00:00Z",
deletedAt: null, deletedAt: null,
author: 3, author: 3,
totalMeasurements: 0, totalMeasurements: 0,
notes: "Test notes",
} }
]; ];