FSL(预处理 BedPostX)错误:日志文件中存在错误。这是什么意思?

问题描述 投票:0回答:1

当我进行 BedpostX FSL 预处理时,我收到以下消息:

----- Bedpostx Monitor -----
1 slices processed out of 62
2 slices processed out of 62
.
.
.
59 slices processed out of 62
60 slices processed out of 62
An error ocurred. Please check file /Users/...../bedpostx.bedpostX/logs/bpx_postproc.e68944
/Users/..../bedpostx.bedpostX/monitor: line 15: kill: (9187) - No such process
logout

[Process completed]

所以我检查了日志文件:

Error in logfile:  *File "/Applications/FSL/bin/imglob", line 78
    print "Usage: $0 [-extension/extensions] <list of names>"

                     ^
SyntaxError: Missing parentheses in call to 'print'
  File "/Applications/FSL/bin/imglob", line 78
    print "Usage: $0 [-extension/extensions] <list of names>"

                                      ^
SyntaxError: Missing parentheses in call to 'print'
  File "/Applications/FSL/bin/imglob", line 78
    print "Usage: $0 [-extension/extensions] <list of names>"

                               ^
SyntaxError: Missing parentheses in call to 'print'
  File "/Applications/FSL/bin/imglob", line 78
    print "Usage: $0 [-extension/extensions] <list of names>"

                              ^
SyntaxError: Missing parentheses in call to 'print'*

但我真的不知道这意味着什么。这真的很奇怪,因为该过程几乎完成了(见上面的 61 处它停止了)。我几乎得到了所有输出。所以我的问题是:

  1. 这个错误是什么意思?
  2. 流程还完成吗? (见上面说的)
  3. 如果没有,我可以做什么来解决这个问题?

这是另一个屏幕截图:

Error Message

python image-processing syntax-error
1个回答
0
投票

bedpostx 命令是一个 shell 脚本,有时会使用 Python 环境本身。由于我的系统上安装了Python 3.5,所以发生了错误。所以我再次启动 bedpostx 命令,但这次是在 Python 2.7 环境终端中。

© www.soinside.com 2019 - 2024. All rights reserved.