pyiron_base.database.jobtable.get_job_working_directory

pyiron_base.database.jobtable.get_job_working_directory#

pyiron_base.database.jobtable.get_job_working_directory(database: FileTable | DatabaseAccess, sql_query: str, user: str, project_path: str, job_specifier: str | int) str[source]#

Get the working directory of a particular job

Parameters:
  • database (DatabaseAccess) – Database object

  • sql_query (str) – SQL query to enter a more specific request

  • user (str) – username of the user whoes user space should be searched

  • project_path (str) – root_path - this is in contrast to the project_path in GenericPath

  • job_specifier (str) – name of the job or job ID

Returns:

working directory as absolute path

Return type:

str