CarragherLab / cptools2

Running cellprofiler on eddie3 / SGE clusters
4 stars 2 forks source link

KeyError if LoadDataError is raised #22

Closed Swarchal closed 6 years ago

Swarchal commented 6 years ago
** parsing config file 'BH_test_config.yaml'
Traceback (most recent call last):
  File "/exports/applications/apps/SL7/python/2.7.10/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/exports/applications/apps/SL7/python/2.7.10/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/gpfs/igmmfs01/eddie/Drug-Discovery/scott/tmp/cptools2/cptools2/__main__.py", line 90, in <module>
    main()
  File "/gpfs/igmmfs01/eddie/Drug-Discovery/scott/tmp/cptools2/cptools2/__main__.py", line 84, in main
    configure_job(config)
  File "/gpfs/igmmfs01/eddie/Drug-Discovery/scott/tmp/cptools2/cptools2/__main__.py", line 50, in configure_job
    jobber.create_commands(**config.create_command_args)
  File "build/bdist.linux-x86_64/egg/cptools2/job.py", line 150, in create_commands
    self._create_loaddata(job_size)
  File "build/bdist.linux-x86_64/egg/cptools2/job.py", line 119, in _create_loaddata
    loaddata.check_dataframe_size(df_loaddata, job_size)
  File "build/bdist.linux-x86_64/egg/cptools2/loaddata.py", line 113, in check_dataframe_size
    least {min_rows} rows, actual: {nrow}""".format(min_rows, nrow)
KeyError: 'min_rows'