dbprocessing.runMe¶
Support for running codes to make data files, as defined in database.
Functions
|
Create a secure temp directory |
|
Remove the temp directory |
|
Go through a list of runMe objects and run them |
Classes
|
class holds all the info it takes to run a process |
Exceptions
Class for errors in running processes |
- dbprocessing.runMe.rm_tempdir(tempdir)[source]¶
Remove the temp directory
- Parameters
- :class:`str`
Path to directory to remove.
- dbprocessing.runMe.runner(runme_list, dbu, MAX_PROC=2, rundir=None)[source]¶
Go through a list of runMe objects and run them
Todo
This function can be made a smart as one wants, for now it is not made to be smart, but flexible
- Parameters
- Returns
- :class:`tuple` ofclass:int
number of processes that successfully completed, number of processes that failed.
Release: 0.1.0 Doc generation date: Feb 10, 2022