Repository navigation
fixed get_images_runner2 to use vosHandler - #365
Conversation
martinkilbinger
left a comment
There was a problem hiding this comment.
So I still have the following problem: I want to use this module with the option retrieve = 'symlink' (condition line 162). It currently gives still an import/depencensy error if I don't install shapepipe with --vos.
It would be good if that worked on machines where the data is already downloaded, and for some reason vos cannot be installed. But not high priority.
|
@martinkilbinger Can you let me know exactly what you are doing to test this? I have ShapePipe installed without VOS and I get the following: Using the
|
RIght, so I think the problem then comes from the dependency checker. I get the following error message when I run the pipeline with the get_images_runner2 module: |
|
@martinkilbinger OK, got it. I just removed VOS from the module runner dependencies defined in the modules. You should not get any errors now (I hope). If you want the pipeline to report the installed version of VOS I can add something specific to check if it is installed and if so report the version in the log. |
Summary
get_images_runner2.pyto usevosHandlerfromcanfar.py_check_vos_installerror message invosHandlerNotes
The VOS import error is only raised when a
vosHandlerobject is instantiated. Provided this is done only when VOS is expected to be installed there should be no issues.