dials / dials

Diffraction Integration for Advanced Light Sources
https://dials.github.io
BSD 3-Clause "New" or "Revised" License
74 stars 52 forks source link

dials.import: if lots of arguments passed e.g. 1000's of CBF files add a progress bar #2783

Open graeme-winter opened 2 hours ago

graeme-winter commented 2 hours ago

When running dials.import on a lot of CBF files nothing happens for quite some time - a tqdm progress bar or similar (for use on a tty) would be very useful

graeme-winter commented 2 hours ago

This may have been a particulary egregious example

  num images: 3600
  sequences:
    still:    0
    sweep:    36
  num stills: 0
--------------------------------------------------------------------------------
Writing experiments to imported.expt

real    1m53.006s
user    1m43.166s
sys 0m7.585s