Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Levitas committed Nov 2, 2023
1 parent 94ddf8e commit 40f0078
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions handler/bids.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ tree "$rootDir" > $root/tree.log
echo "running bids validator"
bids-validator "$rootDir" > $root/validator.log || true

echo "Copying finalized.json file to ezBIDS_template.json"
cp -r $root/finalized.json $root/ezBIDS_template.json

4 changes: 2 additions & 2 deletions ui/src/Finalize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div v-if="session.status == 'analyzed' || session.status == 'defaced'">
<p>Your dataset is now ready to be converted to BIDS! Please click the button below to generate BIDS structure.</p>
<p>
<el-checkbox v-model="ezbids.includeExcluded">Save all acquisitions set to 'exclude' in an /excluded directory in output BIDS structure</el-checkbox>
<el-checkbox v-model="ezbids.includeExcluded">Save all acquisitions set to 'exclude' in an excluded directory in output BIDS structure</el-checkbox>
</p>
<br>
<el-button @click="finalize" type="success">Finalize</el-button>
Expand Down Expand Up @@ -37,7 +37,7 @@
<p>
<el-button @click="download" type="primary">Download BIDS</el-button>

<a :href="config.apihost+'/download/'+session._id+'/finalized.json'" download="finalized.json">
<a :href="config.apihost+'/download/'+session._id+'/ezBIDS_template.json'" download="ezBIDS_template.json">
<el-button @click="download" type="primary" style="float: right" >Download configuration/template</el-button>
</a>
<p align="right">Saves a configuration file that can be uploaded with subsequent data to save you time!</p>
Expand Down

0 comments on commit 40f0078

Please sign in to comment.