Skip to content

Commit

Permalink
Minor tweaks on ParticipantsInfo page
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Levitas committed Aug 16, 2023
1 parent b7f6171 commit 08ef920
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ui/src/Participant.vue
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
<el-button @click="addNewColumn" type="primary">Add</el-button>
</template>
</el-input>
<div>
<a href="https://bids-specification.readthedocs.io/en/stable/03-modality-agnostic-files.html#participants-file">See here for suggestions</a>
</div>
</p>

</el-form>
Expand All @@ -53,7 +56,7 @@
</thead>
<tbody>
<tr v-for="subject_idx in finalSubs" :key="subject_idx">
<th>{{ezbids.subjects[parseInt(subject_idx)].subject}}</th>
<th>{{ezbids.subjects[(subject_idx)].subject}}</th>
<td v-for="(column, key) in ezbids.participantsColumn" :key="key">
<el-input v-model.trim="ezbids.participantsInfo[subject_idx][key]" size="mini"/>
</td>
Expand Down Expand Up @@ -92,7 +95,7 @@ export default defineComponent({
//only show subjects that are really used (not excluded)
finalSubs() {
let finalSubs = [] as string[]
let finalSubs = [] as number[]
this.ezbids._organized.forEach((sub: OrganizedSubject)=>{
let use = false;
sub.sess.forEach(ses=>{
Expand Down

0 comments on commit 08ef920

Please sign in to comment.