in ()
25
26 MeshOpts = getMeshOpts(surface_file, "depths.csv" , 2,10,2)
---> 27 Overlay(MeshOpts)
/opt/conda/lib/python3.5/site-packages/nbpapaya/base.py in __init__(self, image_options, num, options, width, height, host)
360 # width, height, host)
361 super(Overlay, self).__init__(fnames, num, options, image_options,
--> 362 width, height)
363 new_mapper = {}
364 print(self._mapper)
/opt/conda/lib/python3.5/site-packages/nbpapaya/base.py in __init__(self, fnames, num, options, image_options, width, height)
86 # papaya.css templates are in the right spot. papaya_data is used by
87 # _symlink_files
---> 88 self._do_checks()
89
90 # symlink our files to a place where the viewer can access it
/opt/conda/lib/python3.5/site-packages/nbpapaya/base.py in _do_checks(self)
28 if not os.path.exists(os.path.join(self.home_dir,"papaya.js")):
29 shutil.copyfile(os.path.join(os.path.split(__file__)[0],"Papaya/release/current/standard/papaya.js"),
---> 30 os.path.join(self.home_dir,"papaya.js"))
31
32 if not os.path.exists(os.path.join(self.home_dir,"papaya.css")):
/opt/conda/lib/python3.5/shutil.py in copyfile(src, dst, follow_symlinks)
112 os.symlink(os.readlink(src), dst)
113 else:
--> 114 with open(src, 'rb') as fsrc:
115 with open(dst, 'wb') as fdst:
116 copyfileobj(fsrc, fdst)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.5/site-packages/nbpapaya/Papaya/release/current/standard/papaya.js'
Could it be due to the difference in installations below?:
In the Dockerfile.mindboggle.complete file, nbpapaya is installed here:
@akeshavan --
nbpapaya's Overlay is giving an error in our jupyter notebook tutorial.
Here is the code:
And here is the resulting error:
Could it be due to the difference in installations below?:
In the Dockerfile.mindboggle.complete file, nbpapaya is installed here:
whereas in our original MIT nipype workshop tutorial, you installed nbpapaya as follows:
RUN git clone https://github.com/akeshavan/nbpapaya && cd nbpapaya && git submodule update --init --recursive && python setup.py install