Skip to content

Error while runing simulation #2

@bastiencarreres

Description

@bastiencarreres

Hi,
I try to run a simulation from a yaml file but it's always finnish with the error code :

` File "/renoir/carreres/.local/lib/python3.7/site-packages/sn_tools/sn_process.py", line 278, in processPatch
idx = pixels['pixRA'] > pointing['minRA']
TypeError: 'NoneType' object is not subscriptable

Before this error I have :

[300rows x 8 columns]
starting
pointings 300
go for multiprocessing 9 <bound method Process.processPatch of <sn_tools.sn_process.Process object at 0x7f61774cfb90>> RA Dec radius_RA ... maxRA minDec maxDec
2702 326.0 29.712134 4.0 ... 328.0 27.683115 31.741153
2703 326.0 33.770172 4.0 ... 328.0 31.741153 35.799192
2704 326.0 37.828211 4.0 ... 328.0 35.799192 39.857230
2705 326.0 41.886249 4.0 ... 328.0 39.857230 43.915268
2706 330.0 -87.970981 4.0 ... 332.0 -90.000000 -85.941962
... ... ... ... ... ... ... ...
2998 362.0 25.654095 4.0 ... 364.0 23.625076 27.683115
2999 362.0 29.712134 4.0 ... 364.0 27.683115 31.741153
3000 362.0 33.770172 4.0 ... 364.0 31.741153 35.799192
3001 362.0 37.828211 4.0 ... 364.0 35.799192 39.857230
3002 362.0 41.886249 4.0 ... 364.0 39.857230 43.915268

[301 rows x 8 columns]
starting
pointings 301
Process Subprocess-9:
Traceback (most recent call last):`

Have you an answer to my problem?
Thanks you,
Bastien Carreres

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions