~/opt/anaconda3/lib/python3.9/site-packages/marvin/tools/cube.py in _load_cube_from_api(self)
235 """Calls the API and retrieves the necessary information to instantiate the cube."""
236
--> 237 url = marvin.config.urlmap['api']['getCube']['url']
238
239 try:
~/opt/anaconda3/lib/python3.9/site-packages/brain/core/core.py in missing(self, key)
35
36 if len(self.keys()) == 0:
---> 37 raise BrainError('No URL Map found. Cannot make remote call')
38 else:
39 raise BrainError('Key {0} not found in urlmap.'.format(key))
BrainError: No URL Map found. Cannot make remote call
target_cube = "10510-12704" my_cube = marvin.tools.Cube(target_cube)
BrainError Traceback (most recent call last) /var/folders/vv/b6943gtn77q8yzt_knd92ry40000gn/T/ipykernel_1113/1586401030.py in
----> 1 my_cube = marvin.tools.Cube(target_cube)
~/opt/anaconda3/lib/python3.9/site-packages/marvin/tools/cube.py in init(self, input, filename, mangaid, plateifu, mode, data, release, drpall, download, nsa_source) 76 self._load_cube_from_db(data=self.data) 77 elif self.data_origin == 'api': ---> 78 self._load_cube_from_api() 79 80 self._init_attributes(self)
~/opt/anaconda3/lib/python3.9/site-packages/marvin/tools/cube.py in _load_cube_from_api(self) 235 """Calls the API and retrieves the necessary information to instantiate the cube.""" 236 --> 237 url = marvin.config.urlmap['api']['getCube']['url'] 238 239 try:
~/opt/anaconda3/lib/python3.9/site-packages/brain/core/core.py in missing(self, key) 35 36 if len(self.keys()) == 0: ---> 37 raise BrainError('No URL Map found. Cannot make remote call') 38 else: 39 raise BrainError('Key {0} not found in urlmap.'.format(key))
BrainError: No URL Map found. Cannot make remote call