ggirelli / pygpseq

Python3 package to analyse GPSeq images and manage TIFF files.
MIT License
2 stars 1 forks source link

Better error report and format check in fromfish_merge #21

Open ggirelli opened 5 years ago

ggirelli commented 5 years ago

Any ideas about this:

Finished iEG452_007
[Parallel(n_jobs=1)]: Done  10 out of  10 | elapsed:   25.1s remaining:    0.0s
Traceback (most recent call last):
  File "/usr/local/bin/gpseq_fromfish_merge", line 369, in <module>
    delayed(extract_data)(did, sid) for did, sid in uniID)
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/parallel.py", line 779, in __call__
    while self.dispatch_one_batch(iterator):
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/parallel.py", line 625, in dispatch_one_batch
    self._dispatch(tasks)
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/parallel.py", line 588, in _dispatch
    job = self._backend.apply_async(batch, callback=cb)
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 111, in apply_async
    result = ImmediateResult(func)
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/_parallel_backends.py", line 332, in __init__
    self.results = batch()
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/parallel.py", line 131, in __call__
    return [func(*args, **kwargs) for func, args, kwargs in self.items]
  File "/home/erikw/.local/lib/python3.6/site-packages/joblib/parallel.py", line 131, in <listcomp>
    return [func(*args, **kwargs) for func, args, kwargs in self.items]
  File "/usr/local/bin/gpseq_fromfish_merge", line 178, in extract_data
    session = "%03d" % sid
ValueError: cannot convert float NaN to integer

i.e. how I can track it down?