Skip to content
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

KeyError: 'images' #131

Open
diego-gris opened this issue Oct 11, 2022 · 0 comments
Open

KeyError: 'images' #131

diego-gris opened this issue Oct 11, 2022 · 0 comments

Comments

@diego-gris
Copy link

s2p tests/data/input_pair/config.json
tile size: 350 350
total number of tiles: 4 (2 x 2)

discarding masked tiles...
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/anaconda3/envs/s2p_new/lib/python3.8/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/Users/diego_gris/workspace/s2p/s2p/initialization.py", line 301, in is_this_tile_useful
rpc = cfg['images'][0]['rpcm']
KeyError: 'images'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/anaconda3/envs/s2p_new/bin/s2p", line 33, in
sys.exit(load_entry_point('s2p', 'console_scripts', 's2p')())
File "/Users/diego_gris/workspace/s2p/s2p/cli.py", line 25, in main
s2p.main(user_cfg, start_from=args.start_from)
File "/Users/diego_gris/workspace/s2p/s2p/init.py", line 547, in main
tiles = initialization.tiles_full_info(tw, th, tiles_txt, create_masks=True)
File "/Users/diego_gris/workspace/s2p/s2p/initialization.py", line 353, in tiles_full_info
tiles_usefulnesses = parallel.launch_calls(is_this_tile_useful,
File "/Users/diego_gris/workspace/s2p/s2p/parallel.py", line 102, in launch_calls
outputs.append(r.get(timeout))
File "/opt/anaconda3/envs/s2p_new/lib/python3.8/multiprocessing/pool.py", line 771, in get
raise self._value
KeyError: 'images'

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

No branches or pull requests

1 participant