Skip to content

Conversation

chrisgorgo
Copy link
Member

@hjmjohnson please have a look

inverse_composite_transform = traits.List(
File(), desc='Inverse composite transform file')
File(exists=True), desc='Inverse composite transform file')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chris,

I am not 100% sure, but I don't think that all 4 of these output transforms are required to exist. I think it is command line input dependent.

I cant test because I am at a conference this week. Go ahead and merge if you've confirmed that all 4 are mandatory outputs.

NOTE: These outputs are different ways to get the same transform (single file .h5 for composite, and multifile list for forward_transforms)

Hans

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is slightly counter intuitive. It just checks if the file exists, but only if the value is set. Therefore it does not imply that the output is mandatory.

chrisgorgo added a commit that referenced this pull request Feb 15, 2013
@chrisgorgo chrisgorgo merged commit 8390d70 into nipy:master Feb 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants