Skip to content

Commit

Permalink
added input for assay filename
Browse files Browse the repository at this point in the history
feserm committed Dec 15, 2023
1 parent 9057085 commit f224cdc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/isa/assay/Assay.svelte
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
import TableLoader from '../generic/TableLoader.svelte';
import Schemas from '@/lib/schemas';
import { isaObj } from '@/stores/isa';
import String from '../generic/String.svelte';
const isaLevel = getContext('isaLevel');
let explanationAction = explanationActionFactory(isaLevel);
@@ -57,7 +58,9 @@
<section>
<div class="attr entity">
<h4>Assay</h4>
<input type="text" use:explanationAction data-attr="title" bind:value={assay.title} placeholder="Assay title">
<String bind:value={assay.filename} attr="filename"/>
<String bind:value={assay.title} attr="Assay Title"/>
<!-- <input type="text" use:explanationAction data-attr="title" bind:value={assay.title} placeholder="Assay title"> -->
<TableLoader templatePath={"data/templates/uploads/breedfides_assay.csv"} on:approve={handleApprove}/>
Number of samples: {assay.materials.samples.length}
<Comments bind:value={assay.comments} />

0 comments on commit f224cdc

Please sign in to comment.