Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BSC-ES/autosubmit
/ functions
Functions
2,688 in github.com/BSC-ES/autosubmit
⨍
Functions
2,688
◇
Types & classes
156
↳
Endpoints
41
↓ 4 callers
Method
get_header
Gets the header to be used by the job. :param job: The job. :param parameters: Parameters dictionary. :return: Job header.
autosubmit/platforms/paramiko_platform.py:1529
↓ 4 callers
Method
get_output_type
Returns default output type, pdf if none :return: output type :rtype: string
autosubmit/config/configcommon.py:2492
↓ 4 callers
Method
get_stat_file
(self, job, count=-1)
autosubmit/platforms/platform.py:720
↓ 4 callers
Function
get_structure
Return the current structure for the experiment identified by the given ``expid``. If the database used is SQLite, the structure database file wi
autosubmit/database/db_structure.py:51
↓ 4 callers
Method
get_svn_project_url
Gets subversion project url :return: subversion project url :rtype: str
autosubmit/config/configcommon.py:2263
↓ 4 callers
Method
get_wrapper_method
Returns the method of make the wrapper. :return: method
autosubmit/config/configcommon.py:2707
↓ 4 callers
Method
has_parents
Returns true if job has any parents, else return false :return: true if job has any parent, otherwise return false :rtype: b
autosubmit/job/job.py:1094
↓ 4 callers
Method
ini_to_yaml
(root_dir: Path, ini_file: Path)
autosubmit/config/configcommon.py:2574
↓ 4 callers
Method
initialize
(self)
autosubmit/history/database_managers/experiment_history_db_manager.py:525
↓ 4 callers
Method
is_header_ready_db_version
(self)
autosubmit/history/database_managers/experiment_history_db_manager.py:76
↓ 4 callers
Function
is_leap_year
Determine whether a year is a leap year.
autosubmit/job/job_utils.py:40
↓ 4 callers
Function
is_xz_file
(filepath: Union[Path, str])
autosubmit/log/utils.py:91
↓ 4 callers
Function
jobs_in_wrapper_str
Transform to string with _ separator the jobs in the wrapper.
autosubmit/job/job_packages.py:55
↓ 4 callers
Method
load_common_parameters
Loads common parameters not specific to a job neither a platform :param parameters: :return:
autosubmit/config/configcommon.py:1645
↓ 4 callers
Method
load_custom_config_section
Loads a section (PRE or POST ), simple str are also PRE data of the custom config files :param current_data: data until now :param fi
autosubmit/config/configcommon.py:1740
↓ 4 callers
Method
make_old_format
Make the data compatible to the old format.
autosubmit/statistics/statistics.py:116
↓ 4 callers
Method
parse_time
(wallclock)
autosubmit/job/job.py:1415
↓ 4 callers
Method
process_batch_ready_jobs
(self, valid_packages_to_submit, failed_packages, error_message="", hold=False)
autosubmit/platforms/platform.py:370
↓ 4 callers
Method
read_file
Read file content as bytes. If max_size is set, only the first max_size bytes are read. :param src: file path :param max_size: maximu
autosubmit/platforms/platform.py:1081
↓ 4 callers
Method
refresh
Refresh project folder for given experiment :param model_conf: :type model_conf: bool :param jobs_conf: :type jobs_co
autosubmit/autosubmit.py:3648
↓ 4 callers
Method
refresh_log_recovery_process
Relaunch the log recovery processes for each platform if necessary.
autosubmit/autosubmit.py:2051
↓ 4 callers
Method
remove_completed_file
Removes *COMPLETED* files from remote. :param job_name: name of job to check :type job_name: str :return: True if successful,
autosubmit/platforms/platform.py:694
↓ 4 callers
Method
remove_stat_file
Removes STAT files from remote. :param job: Job to check. :type job: Job :return: True if the file was removed, False otherwi
autosubmit/platforms/platform.py:676
↓ 4 callers
Method
restore_connection
Restores the SSH connection to the platform. :param as_conf: The Autosubmit configuration object used to establish the connection. :t
autosubmit/platforms/platform.py:826
↓ 4 callers
Method
restore_platforms
(platforms_to_test, mail_notify=False, as_conf=None, expid=None)
autosubmit/autosubmit.py:2352
↓ 4 callers
Function
retrieve_expids
Retrieve all expids in use by autosubmit attached to the current user. :return: A list of Autosubmit experiment IDs of running experiments for th
autosubmit/helpers/processes.py:143
↓ 4 callers
Method
rocrate
Produces an RO-Crate archive for an Autosubmit experiment. Skips other crate ZIP archive files in ``tmp/ASLOGS``. It ignores files th
autosubmit/autosubmit.py:3989
↓ 4 callers
Method
save
Saves the experiment data into the ``experiment_folder/conf/metadata`` folder as a YAML file.
autosubmit/config/configcommon.py:1954
↓ 4 callers
Method
select_first_where
(self, table_name: str, where: Optional[dict[str, str]])
autosubmit/database/db_manager.py:71
↓ 4 callers
Method
set_default_parameters
Sets the default parameters for the experiment.
autosubmit/config/configcommon.py:1877
↓ 4 callers
Method
set_job_data_dc_as_process_failed
(self, job_data_dc, original_ssh_output)
autosubmit/history/strategies.py:57
↓ 4 callers
Method
set_job_data_dc_as_processed
(self, job_data_dc, original_ssh_output)
autosubmit/history/strategies.py:52
↓ 4 callers
Method
update_dict_parameters
(self, as_conf: AutosubmitConfig)
autosubmit/job/job.py:1950
↓ 4 callers
Method
update_exp_status
Update status, seconds_diff, modified in experiment_status.
autosubmit/history/database_managers/experiment_status_db_manager.py:104
↓ 4 callers
Function
update_experiment_description_version
Updates the experiment's description and/or version. Anti-lock version. :param name: experiment name (expid) :rtype name: str
autosubmit/database/db_common.py:198
↓ 4 callers
Method
update_many_job_data_change_status
Update many job_data rows in bulk. Requires a changes list of argument tuples. Only updates finish, modified, status, and rowstatus b
autosubmit/history/database_managers/experiment_history_db_manager.py:340
↓ 4 callers
Method
validate_config
Check if the configuration is valid. :param running_time: Indicates if the validation is being performed during runtime. :ty
autosubmit/config/configcommon.py:1307
↓ 3 callers
Method
__len__
(self)
autosubmit/job/job_list.py:1790
↓ 3 callers
Method
_add_autosubmit_dict
Add the AUTOSUBMIT namespace to the experiment data.
autosubmit/config/configcommon.py:1895
↓ 3 callers
Function
_add_file
Add a file into the RO-Crate. :param crate: the RO-Crate instance. :param base_path: the base path for the files being added. Optional. :
autosubmit/provenance/rocrate.py:113
↓ 3 callers
Method
_check_finished_job
Will set the jobs status to failed, unless they're completed, in which, the function will change it to complete. :param job: The job
autosubmit/job/job.py:3140
↓ 3 callers
Method
_copy_code
Method to copy code from experiment repository to project directory. :param as_conf: experiment configuration class :type as_conf: Au
autosubmit/autosubmit.py:4506
↓ 3 callers
Method
_create_groups
(self, jobs_group_dict, blacklist=list())
autosubmit/job/job_grouping.py:178
↓ 3 callers
Function
_display_file_xdg
Displays the PDF for the user. Tries to use the X Desktop Group tool ``xdg-open``. If that fails, it fallbacks to ``mimeopen``. If this latte
autosubmit/monitor/monitor.py:77
↓ 3 callers
Function
_filter_by_status
Filter jobs by status.
autosubmit/monitor/diagram.py:431
↓ 3 callers
Method
_get_experiment_run_with_max_id
Get Models.ExperimentRunRow for the maximum id run.
autosubmit/history/database_managers/experiment_history_db_manager.py:208
↓ 3 callers
Method
_get_experiment_run_with_max_id
(self)
autosubmit/history/database_managers/experiment_history_db_manager.py:612
↓ 3 callers
Method
_get_from_total_stats
Returns list of values from given column index position in TOTAL_STATS file associated to job :param index: column position to retri
autosubmit/job/job.py:1129
↓ 3 callers
Function
_get_git_branch_and_commit
FIXME: workaround for: https://earth.bsc.es/gitlab/ces/autosubmit4-config-parser/-/merge_requests/2/diffs. :param project_path: the complete path
autosubmit/provenance/rocrate.py:183
↓ 3 callers
Method
_get_pragma_version
Gets current pragma version as int.
autosubmit/history/database_managers/experiment_history_db_manager.py:431
↓ 3 callers
Method
_get_roots
(self, job_data_dcs_in_wrapper)
autosubmit/history/strategies.py:196
↓ 3 callers
Function
_get_script_files_path
()
test/integration/test_scheduler_general.py:26
↓ 3 callers
Function
_get_user_config_file
Retrieve the user SSH configuration file. Is the user is not the current real user owner, then it first tries to load the value from Maps
autosubmit/platforms/paramiko_platform.py:100
↓ 3 callers
Method
_manage_dependencies
(dependencies_keys: dict, dic_jobs: DicJobs)
autosubmit/job/job_list.py:478
↓ 3 callers
Method
_set_group_status
(self, statuses)
autosubmit/job/job_grouping.py:155
↓ 3 callers
Method
_substitute_keys
Substitute dynamic variables in the given keys. :param keys: List of keys to be processed. :type keys: list[str] :pa
autosubmit/config/configcommon.py:1059
↓ 3 callers
Method
_update_experiment_run
Update experiment_run table with data class ExperimentRun. Updates by run_id (finish, chunk_unit, chunk_size, completed, total, faile
autosubmit/history/database_managers/experiment_history_db_manager.py:370
↓ 3 callers
Method
_update_job_data_by_id
(self, job_data_dc)
autosubmit/history/database_managers/experiment_history_db_manager.py:806
↓ 3 callers
Method
add_job_to_log_recover
(self, job)
autosubmit/platforms/platform.py:808
↓ 3 callers
Method
allocated_nodes
(self)
autosubmit/platforms/wrappers/wrapper_factory.py:92
↓ 3 callers
Method
build_cores_list
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:214
↓ 3 callers
Method
build_failed_jobs
(self)
autosubmit/statistics/statistics.py:153
↓ 3 callers
Method
build_machinefiles
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:234
↓ 3 callers
Method
build_main
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:119
↓ 3 callers
Method
build_sequential_threads_launcher
(self, **kwargs)
autosubmit/platforms/wrappers/wrapper_builder.py:112
↓ 3 callers
Method
cancel_failed_wrapper_job
When a wrapper is cancelled or run into some problem all its jobs are cancelled. If there are jobs on the list that are not Running, and is n
autosubmit/job/job.py:3184
↓ 3 callers
Method
check_all_jobs
(self, job_list: list['Job'], as_conf:'AutosubmitConfig', retries: int = 5)
autosubmit/platforms/platform.py:768
↓ 3 callers
Method
check_deadlock
Check for deadlock situations and raise an exception if detected. :param wrapper_errors: Dictionary of wrapper errors. :param any_job_
autosubmit/autosubmit.py:2484
↓ 3 callers
Method
check_jobs_to_run_first
Check if the jobs to run first are in the package :param package: :return:
autosubmit/job/job_packager.py:182
↓ 3 callers
Function
check_unpushed_changes
Check if the Git repository is dirty for an operational experiment. Raises an AutosubmitCritical error if the experiment is operational, the
autosubmit/git/autosubmit_git.py:88
↓ 3 callers
Method
configure
Configure several paths for autosubmit: database, local root and others. Can be configured at system, user or local levels. Local level config
autosubmit/autosubmit.py:3263
↓ 3 callers
Method
connect
Establishes an SSH connection to the host. :param as_conf: The Autosubmit configuration object. :param reconnect: Indicates whether t
autosubmit/platforms/paramiko_platform.py:365
↓ 3 callers
Function
create_experiment_details_repository
Factory function to create an instance of the ExperimentDetailsRepository.
autosubmit/experiment/detail_updater.py:221
↓ 3 callers
Method
create_experiment_status_as_running
Create a new experiment_status row for the Models.Experiment item.
autosubmit/history/database_managers/experiment_status_db_manager.py:69
↓ 3 callers
Function
create_git_repository_and_server
( tmp_path, autosubmit_exp, git_server, get_next_expid, git_name )
test/integration/git/test_autosubmit_git.py:125
↓ 3 callers
Function
create_stats_report
Function to create the statistics report. Produces one or more PDF files, depending on the parameters. Also produces CSV files with the data
autosubmit/monitor/diagram.py:145
↓ 3 callers
Method
drop_table
(self, table_name: str)
autosubmit/database/db_manager.py:48
↓ 3 callers
Method
execute_statement_with_arguments_on_dbfile
Executes a statement with arguments on a database file specified by path.
autosubmit/history/database_managers/database_manager.py:69
↓ 3 callers
Function
exit_from_error
Called by ``Autosubmit`` when an exception is raised during a command execution. Prints the exception in ``DEBUG`` level. Prints the excepti
autosubmit/scripts/autosubmit.py:48
↓ 3 callers
Method
expid_aslog_dir
(exp_id)
autosubmit/config/basicconfig.py:84
↓ 3 callers
Method
expid_dir
(exp_id)
autosubmit/config/basicconfig.py:70
↓ 3 callers
Method
find_and_delete_redundant_relations
Jobs with intrinsic rules than can't be safely not added without messing other workflows. The graph will have the least amount of edg
autosubmit/job/job_list.py:450
↓ 3 callers
Method
finish_current_experiment_run
(self)
autosubmit/history/experiment_history.py:302
↓ 3 callers
Method
generate_as_config
Retrieve the configuration from autosubmit.config package. :param exp_id: Experiment ID :param dummy: Whether the experiment is a dum
autosubmit/autosubmit.py:1092
↓ 3 callers
Method
get_chunk_size
Chunk Size as defined in the expdef file. :return: Chunksize, 1 as default. :rtype: int
autosubmit/config/configcommon.py:2352
↓ 3 callers
Method
get_collection_of_fixes_applied
(self)
autosubmit/job/job_utils.py:428
↓ 3 callers
Method
get_completed_job_names
Get the names of the completed jobs on this platform. :param job_names: List of job names to check. If None, all jobs will be checked.
autosubmit/platforms/platform.py:1104
↓ 3 callers
Method
get_custom_directives
Returns custom directives for the specified job :param job: job to create custom directive for :type job: Job :retur
autosubmit/platforms/headers/ec_header.py:40
↓ 3 callers
Method
get_details
Get the details of an experiment by its ID. :param exp_id: The ID of the experiment. :return: A dictionary containing the de
autosubmit/experiment/detail_updater.py:47
↓ 3 callers
Function
get_experiment_description
(expid: str)
autosubmit/database/db_common.py:407
↓ 3 callers
Method
get_experiment_row_by_expid
Get the experiment from ecearth.db by expid as Models.ExperimentRow.
autosubmit/history/database_managers/experiment_status_db_manager.py:78
↓ 3 callers
Method
get_extensible_wallclock
Gets extend_wallclock for the given wrapper. :param wrapper: wrapper :type wrapper: dict :return: extend_wallclock :r
autosubmit/config/configcommon.py:2675
↓ 3 callers
Method
get_file_size
Get file size in bytes. :param src: file path
autosubmit/platforms/platform.py:1074
↓ 3 callers
Method
get_full_config_as_json
Return config as json object
autosubmit/config/configcommon.py:137
↓ 3 callers
Method
get_git_project_origin
Returns git origin from experiment config file :return: git origin :rtype: str
autosubmit/config/configcommon.py:2183
↓ 3 callers
Method
get_held_jobs
Returns a list of jobs in the platforms (Held). :param platform: job platform :type platform: HPCPlatform :return: jobs in pl
autosubmit/job/job_list.py:2199
↓ 3 callers
Function
get_job_package_code
Finds the package code and retrieves it. None if no package. :param job_name: String :param expid: Experiment ID :type expid: String
autosubmit/job/job_utils.py:240
↓ 3 callers
Method
get_jobid_by_jobname
Get job id by job name :param job_name: :param retries: retries :type retries: int :return: job id
autosubmit/platforms/paramiko_platform.py:1044
↓ 3 callers
Method
get_jobs_by_section
Get jobs by section. This method filters jobs based on the provided section list and banned jobs list. It can also filter out complet
autosubmit/job/job_list.py:2278
↓ 3 callers
Method
get_level
(self, previous_level_dcs, job_name_to_object)
autosubmit/history/strategies.py:219
← previous
next →
301–400 of 2,688, ranked by callers