MCPcopy Create free account

hub / github.com/BSC-ES/autosubmit / functions

Functions2,688 in github.com/BSC-ES/autosubmit

↓ 9 callersFunction_assert_exit_code
Check that the exit code is correct.
test/integration/commands/run/conftest.py:259
↓ 9 callersFunction_get_sqlalchemy_conn
Return the database connection. It captures any exception, returning an ``AutosubmitCritical`` as in the previous SQLite-only code. With this
autosubmit/database/db_common.py:647
↓ 9 callersMethod_get_status
Convert job status from str to Status. :param s: status string :type s: str :return: status instance :rtype: Status
autosubmit/autosubmit.py:5306
↓ 9 callersMethod_unify_to_filter
Unify filter_to filters into a single dictionary :param unified_filter: Single dictionary with all filters_to :param filter_t
autosubmit/job/job_list.py:783
↓ 9 callersMethodcalculate_wrapper_bounds
Returns the minimum and maximum number of jobs that can be wrapped :param section_list: List of sections to be wrapped :type
autosubmit/job/job_packager.py:136
↓ 9 callersMethoddeep_read_loops
Update a nested dictionary or similar mapping. Modify ``source`` in place.
autosubmit/config/configcommon.py:1178
↓ 9 callersMethoddescribe
Show details for specified experiment :param input_experiment_list: experiments identifier: :type input_experiment_list: str
autosubmit/autosubmit.py:3178
↓ 9 callersMethoddetailed_deep_diff
Returns a dictionary with for each key, the difference between the current configuration and the last_run_data :param current_data: dictionary
autosubmit/config/configcommon.py:1977
↓ 9 callersMethoderror
(self, message)
autosubmit/autosubmit.py:120
↓ 9 callersMethodexec_command
Execute a command on the SSH server. A new ``.Channel`` is open and the requested command is executed. The command's input and output
autosubmit/platforms/paramiko_platform.py:1171
↓ 9 callersMethodget_default_job_type
Returns the default job type from experiment's config file. :return: default type such as bash, python, r... :rtype: str
autosubmit/config/configcommon.py:2532
↓ 9 callersMethodget_job_data_dc_unique_latest_by_job_name
Returns JobData data class for the latest job_data_row with last=1 by job_name.
autosubmit/history/database_managers/experiment_history_db_manager.py:265
↓ 9 callersMethodget_version
Returns version number of the current experiment from autosubmit's config file :return: version :rtype: str
autosubmit/config/configcommon.py:2476
↓ 9 callersMethodnormalize_variables
Apply some memory internal variables to normalize its format. (right now only dependencies) :param data: The input data dictionary t
autosubmit/config/configcommon.py:491
↓ 9 callersFunctionopen_conn
Opens a connection to database :param check_version: If true, check if the database is compatible with this autosubmit version :type che
autosubmit/database/db_common.py:75
↓ 9 callersMethodparse_args
Parse arguments given to an executable and start execution of command given. Returns a tuple with the exit code (``status``), and an optional
autosubmit/autosubmit.py:170
↓ 9 callersMethodstop
Function to finish the profiling process.
autosubmit/profiler/profiler.py:84
↓ 9 callersMethodtest_connection
Tests the connection using the provided configuration. :param as_conf: The configuration to use for testing the connection.
autosubmit/platforms/ecplatform.py:204
↓ 9 callersMethodupdate_list
Updates job list, resetting failed jobs and changing to READY all WAITING jobs with all parents COMPLETED :param first_time:
autosubmit/job/job_list.py:2644
↓ 8 callersMethod__init__
(self, jobs: list[Job])
autosubmit/job/job_packages.py:65
↓ 8 callersMethod_check_chunks
Check if the current_job_value is included in the filter_from and retrieve filter_to value :param relationships: Remaining filters to
autosubmit/job/job_list.py:750
↓ 8 callersMethod_check_members
Check if the current_job_value is included in the filter_from and retrieve filter_to value :param relationships: Remaining filters to
autosubmit/job/job_list.py:727
↓ 8 callersMethod_check_splits
Check if the current_job_value is included in the filter_from and retrieve filter_to value :param relationships: Remaining filters to
autosubmit/job/job_list.py:769
↓ 8 callersFunction_create_dummy_job_with_status
(status, platform)
test/integration/test_checkpoints.py:70
↓ 8 callersFunction_create_relationship
(parent, child)
test/unit/test_job.py:1500
↓ 8 callersFunction_create_slurm_platform
(expid: str, as_conf: AutosubmitConfig)
test/integration/platforms/test_slurmplatform.py:55
↓ 8 callersMethod_verify_args_message
Verify if the message has arguments to format :param msg: message to show :param args: arguments for message formatting
autosubmit/log/log.py:343
↓ 8 callersMethodadd_special_conditions
Add special conditions to the job edge. :param job: Job :param special_conditions: dict :param filters_to_apply: dict
autosubmit/job/job_list.py:951
↓ 8 callersFunctioncalendar_chunk_section
Calendar for chunks :param section: :param parameters: :return: int
autosubmit/job/job_utils.py:140
↓ 8 callersFunctioncheck_db
Checks if database file exist. :return: None if exists, terminates program if not
autosubmit/database/db_common.py:66
↓ 8 callersMethodcheck_file_exists
(self, src: str, wrapper_failed: bool = False, sleeptime: int = 5, max_retries: int = 3)
autosubmit/platforms/platform.py:717
↓ 8 callersMethodcheck_if_packages_are_ready_to_build
Check if the packages are ready to be built. Returns a tuple with two elements. The first contains the list of jobs ready to be built.
autosubmit/job/job_packager.py:441
↓ 8 callersMethodcreate_script
Create the script file to be run for the job. :param as_conf: Configuration object. :type as_conf: AutosubmitConfig
autosubmit/job/job.py:2411
↓ 8 callersMethodcritical
Sends critical errors to the log. It will be shown in red in the console. :param msg: message to show :param args: arguments for mess
autosubmit/log/log.py:406
↓ 8 callersMethoddelete_file
Deletes a file from this platform. :param filename: file name :type filename: str :return: True if successful or file does no
autosubmit/platforms/platform.py:635
↓ 8 callersFunctiondoes_not_raise
()
test/unit/test_expid.py:32
↓ 8 callersMethodget_job_data_all
Used for tests only.\ Gets all content from job_data as list of Models.JobDataRow from database.
autosubmit/history/database_managers/experiment_history_db_manager.py:223
↓ 8 callersMethodget_wrapper
(self, wrapper_builder, **kwargs)
autosubmit/platforms/wrappers/wrapper_factory.py:35
↓ 8 callersMethodput
Puts a job into the queue if it is not a duplicate. :param job: The job to be added to the queue. :type job: Any :param block
autosubmit/platforms/platform.py:116
↓ 8 callersMethodsubmit_job
Submit a job from a given job object. :param job: job object :type job: autosubmit.job.job.Job :param script_name: job script
autosubmit/platforms/platform.py:752
↓ 8 callersMethodupdate_content
Create the script content to be run for the job. :param as_conf: Autosubmit configuration. :param parameters: Parameters dictionary.
autosubmit/job/job.py:2326
↓ 8 callersMethodupdate_jobs_filtered
(self, current_jobs, next_level_jobs)
autosubmit/job/job_dict.py:223
↓ 8 callersMethodupdate_local_logs
(self, count: int = -1, update_submit_time: bool = True)
autosubmit/job/job.py:2559
↓ 7 callersFunction_add_files
Add all files of a directory into the RO-Crate. Ignores existing crate archives. :param crate: the RO-Crate instance. :param base_path:
autosubmit/provenance/rocrate.py:92
↓ 7 callersMethod_create_jobs_chunk
Create jobs to be run once per chunk :param synchronize: :param section: section to read :type section: str
autosubmit/job/job_dict.py:158
↓ 7 callersMethod_create_jobs_split
(self, splits, section, date, member, chunk, priority, default_job_type, section_data)
autosubmit/job/job_dict.py:218
↓ 7 callersMethod_create_sorted_dict_jobs
Creates a sorting of the jobs whose job.section is in wrapper_jobs, according to the following filters in order of importance: date, m
autosubmit/job/job_list.py:1609
↓ 7 callersFunction_format_times
Return a human-readable string with the number of day(s), and the time in the delta.
autosubmit/monitor/diagram.py:419
↓ 7 callersMethod_get_job_data_last_by_name
Get List of Models.JobDataRow for job_name and last=1
autosubmit/history/database_managers/experiment_history_db_manager.py:272
↓ 7 callersMethod_indent
(self, text, amount, ch=' ')
autosubmit/platforms/wrappers/wrapper_builder.py:122
↓ 7 callersFunctioncheck_jobs_file_exists
Raise an error if the jobs file does not exist. By default, it will search all jobs sections. Alternatively, callers can pass ``current_secti
autosubmit/helpers/utils.py:36
↓ 7 callersMethodcheck_real_package_wrapper_limits
(self, package)
autosubmit/job/job_packager.py:202
↓ 7 callersFunctioncreate_rocrate_archive
Create an RO-Crate archive using the ro-crate-py library. It uses the Autosubmit configuration for the prospective provenance, and also to lo
autosubmit/provenance/rocrate.py:288
↓ 7 callersMethodexecute_distribution
(self, job_data_dc, job_data_dcs_in_wrapper, slurm_monitor)
autosubmit/history/strategies.py:38
↓ 7 callersMethodgenerate_output
Plots graph for joblist and stores it in a file :param hide_groups: :param groups: :param packages: :param p
autosubmit/monitor/monitor.py:464
↓ 7 callersMethodget_all_last_job_data_dcs
Gets JobData data classes in job_data for last=1.
autosubmit/history/database_managers/experiment_history_db_manager.py:296
↓ 7 callersMethodget_chunk_size_unit
Unit for the chunk length :return: Unit for the chunk length Options: {hour, day, month, year} :rtype: str
autosubmit/config/configcommon.py:2344
↓ 7 callersMethodget_date_list
Get inner date list. :return: date list :rtype: list
autosubmit/job/job_list.py:1793
↓ 7 callersMethodget_failed
Returns a list of failed jobs. :param wrapper: :param platform: job platform :type platform: HPCPlatform :return: fai
autosubmit/job/job_list.py:1946
↓ 7 callersMethodget_filters_to_apply
(self, job, dependency)
autosubmit/job/job_list.py:1240
↓ 7 callersMethodget_from_statement
Get the rows from a statement with no arguments
autosubmit/history/database_managers/database_manager.py:101
↓ 7 callersMethodget_from_statement_with_arguments
Get the rows from a statement with arguments
autosubmit/history/database_managers/database_manager.py:112
↓ 7 callersMethodget_in_queue
Returns a list of jobs in the platforms (Submitted, Running, Queuing, Unknown,Held). :param wrapper: :param platform: job platform
autosubmit/job/job_list.py:2225
↓ 7 callersMethodget_project_destination
Returns git commit from experiment's config file :return: git commit :rtype: str
autosubmit/config/configcommon.py:2238
↓ 7 callersMethodget_wrapper_jobs
Returns the jobs that should be wrapped, configured in the autosubmit's config. :return: expression (or none) :rtype: string
autosubmit/config/configcommon.py:2663
↓ 7 callersMethodjob_is_over_wallclock
(self, job, job_status, cancel=False)
autosubmit/platforms/paramiko_platform.py:766
↓ 7 callersMethodload
Loads package of jobs from a database :param: wrapper: boolean :return: list of jobs per package
autosubmit/job/job_package_persistence.py:51
↓ 7 callersMethodload_platforms
Create all the platform's object that will be used by the experiment.
autosubmit/platforms/paramiko_submitter.py:143
↓ 7 callersMethodmy_database_exists
(self)
autosubmit/history/database_managers/experiment_history_db_manager.py:67
↓ 7 callersFunctionprocess_id
Retrieve the process id of the autosubmit process. :param expid: An Autosubmit experiment ID. :type expid: str :param command: An Autosub
autosubmit/helpers/processes.py:166
↓ 7 callersFunctionreset
(as_exp_, target="WAITING")
test/integration/commands/test_set_status.py:15
↓ 7 callersMethodshould_we_create_a_new_run
(self, job_list, changes_count, current_experiment_run_dc, new_chunk_unit,
autosubmit/history/experiment_history.py:272
↓ 6 callersFunction_assert_db_fields
Run assertions against database values, checking for possible issues.
test/integration/commands/run/conftest.py:238
↓ 6 callersFunction_assert_files_recovered
Assert that the files are recovered correctly.
test/integration/commands/run/conftest.py:315
↓ 6 callersFunction_check_db_fields
Check that the database contains the expected number of entries, and that all fields contain data after a completed run.
test/integration/commands/run/conftest.py:123
↓ 6 callersFunction_check_files_recovered
Check that all files are recovered after a run.
test/integration/commands/run/conftest.py:267
↓ 6 callersMethod_createDummyJob
(self, name, total_wallclock, section, date=None, member=None, chunk=None)
test/unit/test_wrappers.py:2096
↓ 6 callersFunction_create_process
(mocker, expid, username: Optional[str] = None, command='run', pid=1984)
test/unit/helpers/test_processes.py:27
↓ 6 callersMethod_get_date
(self, jobs, dic, date, member, chunk)
autosubmit/job/job_dict.py:518
↓ 6 callersMethod_get_member
(self, jobs, dic, member, chunk)
autosubmit/job/job_dict.py:536
↓ 6 callersMethodcheck_job
Checks job running status. :param is_wrapper: :param submit_hold_check: :param job: :param retries: retries :
autosubmit/platforms/platform.py:772
↓ 6 callersMethodcheck_remote_permissions
(self)
autosubmit/platforms/ecplatform.py:213
↓ 6 callersMethodcheck_special_status
Check if all parents of a job have the correct status for checkpointing. :returns: jobs_to_check - Jobs that fulfill the special con
autosubmit/job/job_list.py:2513
↓ 6 callersFunctionclean_git
Clean the cloned Git repository inside the project directory of the experiment. Skipped if the project directory location is not a valid director
autosubmit/git/autosubmit_git.py:113
↓ 6 callersMethodcreate_a_new_copy
(self)
autosubmit/platforms/platform.py:1071
↓ 6 callersFunctioncreate_packager
(autosubmit_exp, autosubmit, local)
test/integration/job/test_job_packager.py:39
↓ 6 callersMethoddatabase_backup
(expid)
autosubmit/autosubmit.py:3933
↓ 6 callersMethoddeep_normalize
Normalize a nested dictionary or similar mapping to uppercase. This function recursively iterates through a dictionary, converting all keys t
autosubmit/config/configcommon.py:436
↓ 6 callersMethodget_connection
Create a database connection to the SQLite database specified by path. :param path: database file name :return: Connection ob
autosubmit/history/database_managers/database_manager.py:42
↓ 6 callersMethodget_file
Copies a file from the current platform to experiment's tmp folder :param wrapper_failed: :param ignore_log: :param filename:
autosubmit/platforms/platform.py:604
↓ 6 callersFunctionget_free_port
Get a free TCP port to use in a test (e.g. for a Docker container). Creating a Socket in Python, and binding to port 0, triggers underlying c
test/integration/test_utils/networking.py:29
↓ 6 callersMethodget_job_data_by_job_id_name
Get the latest JobData for a given job_id and job_name. :param job_id: The job ID. :type job_id: int :param job_name
autosubmit/history/database_managers/experiment_history_db_manager.py:385
↓ 6 callersMethodget_logger
Configure the file to store the log. If another file was specified earlier, new messages will only go to the new file. :para
autosubmit/log/log.py:203
↓ 6 callersMethodget_machinefile_function
(self)
autosubmit/platforms/wrappers/wrapper_builder.py:90
↓ 6 callersMethodget_ssh_output
(self)
autosubmit/platforms/ecplatform.py:322
↓ 6 callersMethodget_wrapper_type
Returns what kind of wrapper (VERTICAL, MIXED-VERTICAL, HORIZONTAL, HYBRID, MULTI NONE) the user has configured in the autosubmit's config.
autosubmit/config/configcommon.py:2632
↓ 6 callersFunctiongit_commit_all_in_dir
Adds all files in the given path, and creates a single commit for it.
test/integration/test_utils/git.py:106
↓ 6 callersMethodinsert_many
(self, table_name: str, data: list[dict[str, Any]])
autosubmit/database/db_manager.py:62
↓ 6 callersMethodinspect
Generates cmd files experiment. :param expid: identifier of experiment to be run :param lst: :param filter_chunks:
autosubmit/autosubmit.py:1410
↓ 6 callersMethodnotify_status_change
(implementation, exp_id, job_name="", prev_status="", status="", notify_to="")
autosubmit/notifications/notifier.py:24
← previousnext →101–200 of 2,688, ranked by callers