Skip to content

Commit 1e195ac

Browse files
committed
Merge branch 'hotfix/0.0.6'
2 parents 247735a + 740d7a5 commit 1e195ac

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

app/containers/pipeline/parts/anatomical/Registration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Registration extends Component {
4242
<InputLabel>Resolution</InputLabel>
4343
{
4444

45-
resolution.size ?
45+
resolution.size !== undefined ?
4646

4747
<Grid container>
4848
<Grid item xs={4}>

app/containers/pipeline/parts/functional/TemplateRegistration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class TemplateRegistration extends Component {
8989
<InputLabel>Functional Resolution</InputLabel>
9090
{
9191

92-
functional_resolution.size ?
92+
functional_resolution.size !== undefined ?
9393

9494
<Grid container>
9595
<Grid item xs={4}>
@@ -160,7 +160,7 @@ class TemplateRegistration extends Component {
160160
<InputLabel>Derivative Resolution</InputLabel>
161161
{
162162

163-
derivative_resolution.size ?
163+
derivative_resolution.size !== undefined ?
164164

165165
<Grid container>
166166
<Grid item xs={4}>

c-pac/pipeline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ export function parse(content) {
356356

357357
c.functional.slice_timing_correction.enabled = config.slice_timing_correction.includes(1)
358358
c.functional.slice_timing_correction.repetition_time = !config.TR || config.TR == "None" ? '' : config.TR
359-
c.functional.slice_timing_correction.pattern = config.slice_timing_pattern == "Use NIFTI Header" ? "pattern" : config.slice_timing_pattern
359+
c.functional.slice_timing_correction.pattern = config.slice_timing_pattern === "Use NIFTI Header" ? "header" : config.slice_timing_pattern
360360

361361
c.functional.slice_timing_correction.first_timepoint = config.startIdx
362362
c.functional.slice_timing_correction.last_timepoint = !config.stopIdx || config.stopIdx == "None" ? '' : config.stopIdx

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Configurable Pipeline for the Analysis of Connectomes",
44
"homepage": "https://github.com/FCP-INDI/C-PAC_GUI",
55
"productName": "C-PAC",
6-
"version": "0.0.5",
6+
"version": "0.0.6",
77
"scripts": {
88
"build-dll": "cross-env NODE_ENV=development node --trace-warnings -r @babel/register ./node_modules/webpack/bin/webpack --mode development --config config/webpack.config.renderer.dev.dll.js --colors",
99
"build:electron": "cross-env node --trace-warnings -r @babel/register ./node_modules/webpack/bin/webpack --mode production --config config/webpack.config.main.prod.js --colors",

0 commit comments

Comments
 (0)