BIC-MNI/minc-toolkit

Undeclared dependency, xfmavg depends on octave

Closed this issue · 4 comments

xfmavg generates an .m file and runs it through octave, which isn't listed in the dependencies of minc-toolkit

When it fails, it gives a cryptic error of xfmavg died on line 314

Vladimir,

Where do you source xfmavg from in mind-toolkit? I just went looking for it with no luck? I have been making a repo of all these extras here:

https://github.com/BIC-MNI/minc-widgets

This is sort of my version of conglomerate. As for the bug itself yes including octave will fix it but I should also output an error message rather than the cryptic version. I can submit a fix to this in mind-widgets but wanted to make sure that you would then pick this up. Feel free to add an example CMAKE build file to mind-widgets for the version arguments and I'll make it work! I know how to do this in automake but haven't got around to figuring out how to do this with CMAKE. You'll note that most of the scripts have a PACKAGE, VERSION and PACKAGE_BUGREPORT variable def at the top all ready for this.

https://github.com/BIC-MNI/minc-widgets/blob/master/gennlxfm/gennlxfm#L22

Thanks

a

I've made a commit to minc-widgets here:

BIC-MNI/minc-widgets@25d7232

This should resolve this depending on where Vladimir sources xfmavg from.

Ah, there it is.

Perhaps best to add minc-widgets as a submodule, I see the CmakeLists.txt you have in that directory is close to what I want but doesn't have the version or maintainer info.

I have added the skeleton version for now based upon yours but haven't tested it.

BIC-MNI/minc-widgets@59d583b

a