-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add recursive finder for filelike objects #266
Conversation
Requires #268. |
@o-smirnov Tests are now passing (rebased on master after dropping 3.7). Feel free to add/change at your leisure. |
OK, I also added the following option to allow explicit user-specified binding of directories. Simple enough change. opts:
backend:
singularity:
bind_dirs:
~/tmp: rw
/tmp: ro @JSKenyon if the pipeline is in front of you now, could you please test this quickly? |
In progress. Have disabled my file finder and I am instead mounting everything manually. Will let you know once it runs through. |
@o-smirnov That seems to have worked. The combination of the finder and the override should be pretty foolproof. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
(Hopefully) does what it says on the tin. As @o-smirnov points out, this may be somewhat error prone. That said, I have added a handful of tests and the pipeline which originally identified the problem now runs through. In principle, the code could be further refined (the
typeguard
package seems to be very useful), but I think that this should be enough for now. If more exotic types foil this approach, we can always add them to the test suite and iterate.