INSTRUCTION stringlengths 1 8.43k | RESPONSE stringlengths 75 104k |
|---|---|
Setter method for keepalive mapped from YANG variable/ interface/ tunnel/ keepalive ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_keepalive is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_keepalive (... | def _set_keepalive(self, v, load=False):
"""
Setter method for keepalive, mapped from YANG variable /interface/tunnel/keepalive (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_keepalive is considered as a private
method. Backends looking to populate this ... |
A wrapper for assess_car_t_validity. | def run_car_t_validity_assessment(job, rsem_files, univ_options, reports_options):
"""
A wrapper for assess_car_t_validity.
:param dict rsem_files: Results from running rsem
:param dict univ_options: Dict of universal options used by almost all tools
:param dict reports_options: Options specific to... |
This function creates a report on the available clinical trials and scientific literature available for the overexpressed genes in the specified tumor type. It also gives a list of clinical trials available for other types of cancer with the same overexpressed gene. | def assess_car_t_validity(job, gene_expression, univ_options, reports_options):
"""
This function creates a report on the available clinical trials and scientific literature
available for the overexpressed genes in the specified tumor type.
It also gives a list of clinical trials available for other typ... |
Setter method for linecard mapped from YANG variable/ global_lc_holder/ linecard ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_linecard is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_linecard () dir... | def _set_linecard(self, v, load=False):
"""
Setter method for linecard, mapped from YANG variable /global_lc_holder/linecard (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_linecard is considered as a private
method. Backends looking to populate this vari... |
A wrapper for the entire dna alignment subgraph. | def align_dna(job, fastqs, sample_type, univ_options, bwa_options):
"""
A wrapper for the entire dna alignment subgraph.
:param list fastqs: The input fastqs for alignment
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal optio... |
Align a pair of fastqs with bwa. | def run_bwa(job, fastqs, sample_type, univ_options, bwa_options):
"""
Align a pair of fastqs with bwa.
:param list fastqs: The input fastqs for alignment
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost ... |
Convert a sam to a bam. | def bam_conversion(job, samfile, sample_type, univ_options, samtools_options):
"""
Convert a sam to a bam.
:param dict samfile: The input sam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost all too... |
Fix the bam header to remove the command line call. Failing to do this causes Picard to reject the bam. | def fix_bam_header(job, bamfile, sample_type, univ_options, samtools_options, retained_chroms=None):
"""
Fix the bam header to remove the command line call. Failing to do this causes Picard to reject
the bam.
:param dict bamfile: The input bam file
:param str sample_type: Description of the sample... |
Add read groups to the bam. | def add_readgroups(job, bamfile, sample_type, univ_options, picard_options):
"""
Add read groups to the bam.
:param dict bamfile: The input bam file
:param str sample_type: Description of the sample to inject into the filename
:param dict univ_options: Dict of universal options used by almost all t... |
Setter method for fcport_group_rbid mapped from YANG variable/ fcoe/ fcoe_fabric_map/ fcoe_fcport_group_config/ fcport_group_rbid ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fcport_group_rbid is considered as a private method. Backends looking to populate this varia... | def _set_fcport_group_rbid(self, v, load=False):
"""
Setter method for fcport_group_rbid, mapped from YANG variable /fcoe/fcoe_fabric_map/fcoe_fcport_group_config/fcport_group_rbid (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fcport_group_rbid is considere... |
Upgrade database. | def upgrade():
"""Upgrade database."""
op.create_table(
'access_actionssystemroles',
sa.Column('id', sa.Integer(), nullable=False),
sa.Column('action', sa.String(length=80), nullable=True),
sa.Column('exclude', sa.Boolean(name='exclude'), server_default='0',
nul... |
Setter method for route mapped from YANG variable/ rbridge_id/ ipv6/ ipv6route/ route ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_route is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_route () directly. | def _set_route(self, v, load=False):
"""
Setter method for route, mapped from YANG variable /rbridge_id/ipv6/ipv6route/route (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_route is considered as a private
method. Backends looking to populate this variable sho... |
Setter method for lsp_tie_breaking mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ lsp/ lsp_tie_breaking ( tie - breaking ) If this variable is read - only ( config: false ) in the source YANG file then _set_lsp_tie_breaking is considered as a private method. Backends looking to populate this va... | def _set_lsp_tie_breaking(self, v, load=False):
"""
Setter method for lsp_tie_breaking, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_tie_breaking (tie-breaking)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_tie_breaking is considered ... |
Setter method for lsp_auto_bandwidth mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ lsp/ lsp_auto_bandwidth ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_lsp_auto_bandwidth is considered as a private method. Backends looking to populate this v... | def _set_lsp_auto_bandwidth(self, v, load=False):
"""
Setter method for lsp_auto_bandwidth, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_auto_bandwidth (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_auto_bandwidth is consid... |
Setter method for lsp_frr mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ lsp/ lsp_frr ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_lsp_frr is considered as a private method. Backends looking to populate this variable should do so via calling ... | def _set_lsp_frr(self, v, load=False):
"""
Setter method for lsp_frr, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_frr (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_frr is considered as a private
method. Backends looki... |
Setter method for secondary_path mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ lsp/ secondary_path ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_secondary_path is considered as a private method. Backends looking to populate this variable should do... | def _set_secondary_path(self, v, load=False):
"""
Setter method for secondary_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/secondary_path (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_secondary_path is considered as a private
... |
Setter method for lsp_select_path mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ lsp/ lsp_select_path ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_lsp_select_path is considered as a private method. Backends looking to populate this variable s... | def _set_lsp_select_path(self, v, load=False):
"""
Setter method for lsp_select_path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/lsp/lsp_select_path (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lsp_select_path is considered as a pr... |
Setter method for fe_access_check mapped from YANG variable/ sysmon/ fe_access_check ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fe_access_check is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_fe_a... | def _set_fe_access_check(self, v, load=False):
"""
Setter method for fe_access_check, mapped from YANG variable /sysmon/fe_access_check (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fe_access_check is considered as a private
method. Backends looking to ... |
Setter method for link_crc_monitoring mapped from YANG variable/ sysmon/ link_crc_monitoring ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_link_crc_monitoring is considered as a private method. Backends looking to populate this variable should do so via calling thisOb... | def _set_link_crc_monitoring(self, v, load=False):
"""
Setter method for link_crc_monitoring, mapped from YANG variable /sysmon/link_crc_monitoring (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_link_crc_monitoring is considered as a private
method. Back... |
Setter method for sfm_walk mapped from YANG variable/ sysmon/ sfm_walk ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_sfm_walk is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_sfm_walk () directly. | def _set_sfm_walk(self, v, load=False):
"""
Setter method for sfm_walk, mapped from YANG variable /sysmon/sfm_walk (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_sfm_walk is considered as a private
method. Backends looking to populate this variable shoul... |
Setter method for servers mapped from YANG variable/ interface/ fortygigabitethernet/ ip/ interface_fo_dhcp_conf/ dhcp/ relay/ servers ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_servers is considered as a private method. Backends looking to populate this variable should... | def _set_servers(self, v, load=False):
"""
Setter method for servers, mapped from YANG variable /interface/fortygigabitethernet/ip/interface_fo_dhcp_conf/dhcp/relay/servers (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_servers is considered as a private
meth... |
Setter method for ldp_protocol_stats_instance_total mapped from YANG variable/ mpls_state/ ldp/ statistics/ ldp_protocol_stats_instance_total ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_protocol_stats_instance_total is considered as a private method. Backends lo... | def _set_ldp_protocol_stats_instance_total(self, v, load=False):
"""
Setter method for ldp_protocol_stats_instance_total, mapped from YANG variable /mpls_state/ldp/statistics/ldp_protocol_stats_instance_total (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ld... |
Setter method for ldp_protocol_stats_instance_since_clear mapped from YANG variable/ mpls_state/ ldp/ statistics/ ldp_protocol_stats_instance_since_clear ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_protocol_stats_instance_since_clear is considered as a private m... | def _set_ldp_protocol_stats_instance_since_clear(self, v, load=False):
"""
Setter method for ldp_protocol_stats_instance_since_clear, mapped from YANG variable /mpls_state/ldp/statistics/ldp_protocol_stats_instance_since_clear (container)
If this variable is read-only (config: false) in the
source YANG ... |
Setter method for ldp_protocol_errors_instance_since_clear mapped from YANG variable/ mpls_state/ ldp/ statistics/ ldp_protocol_errors_instance_since_clear ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp_protocol_errors_instance_since_clear is considered as a privat... | def _set_ldp_protocol_errors_instance_since_clear(self, v, load=False):
"""
Setter method for ldp_protocol_errors_instance_since_clear, mapped from YANG variable /mpls_state/ldp/statistics/ldp_protocol_errors_instance_since_clear (container)
If this variable is read-only (config: false) in the
source YA... |
Setter method for distance mapped from YANG variable/ routing_system/ ipv6/ router/ ospf/ distance ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_distance is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_di... | def _set_distance(self, v, load=False):
"""
Setter method for distance, mapped from YANG variable /routing_system/ipv6/router/ospf/distance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_distance is considered as a private
method. Backends looking to populate... |
Setter method for global_metric_type mapped from YANG variable/ routing_system/ ipv6/ router/ ospf/ global_metric_type ( ospf: metric - type ) If this variable is read - only ( config: false ) in the source YANG file then _set_global_metric_type is considered as a private method. Backends looking to populate this varia... | def _set_global_metric_type(self, v, load=False):
"""
Setter method for global_metric_type, mapped from YANG variable /routing_system/ipv6/router/ospf/global_metric_type (ospf:metric-type)
If this variable is read-only (config: false) in the
source YANG file, then _set_global_metric_type is considered a... |
Returns the weekday of the date. 0 = aaitabar | def weekday(cls, year, month, day):
"""Returns the weekday of the date. 0 = aaitabar"""
return NepDate.from_bs_date(year, month, day).weekday() |
Returns the number of days in a month | def monthrange(cls, year, month):
"""Returns the number of days in a month"""
functions.check_valid_bs_range(NepDate(year, month, 1))
return values.NEPALI_MONTH_DAY_DATA[year][month - 1] |
Returns an iterator for the month in a year This iterator will return all days ( as NepDate objects ) for the month and all days before the start of the month or after the end of the month that are required to get a complete week. | def itermonthdates(cls, year, month):
"""
Returns an iterator for the month in a year
This iterator will return all days (as NepDate objects) for the month
and all days before the start of the month or after the end of the month
that are required to get a complete week.
"... |
Similar to itermonthdates but returns day number instead of NepDate object | def itermonthdays(cls, year, month):
"""Similar to itermonthdates but returns day number instead of NepDate object
"""
for day in NepCal.itermonthdates(year, month):
if day.month == month:
yield day.day
else:
yield 0 |
Similar to itermonthdays2 but returns tuples of day and weekday. | def itermonthdays2(cls, year, month):
"""Similar to itermonthdays2 but returns tuples of day and weekday.
"""
for day in NepCal.itermonthdates(year, month):
if day.month == month:
yield (day.day, day.weekday())
else:
yield (0, day.weekday()... |
Returns a list of week in a month. A week is a list of NepDate objects | def monthdatescalendar(cls, year, month):
""" Returns a list of week in a month. A week is a list of NepDate objects """
weeks = []
week = []
for day in NepCal.itermonthdates(year, month):
week.append(day)
if len(week) == 7:
weeks.append(week)
... |
Return a list of the weeks in the month month of the year as full weeks. Weeks are lists of seven day numbers. | def monthdayscalendar(cls, year, month):
"""Return a list of the weeks in the month month of the year as full weeks.
Weeks are lists of seven day numbers."""
weeks = []
week = []
for day in NepCal.itermonthdays(year, month):
week.append(day)
if len(week) =... |
Return a list of the weeks in the month month of the year as full weeks. Weeks are lists of seven tuples of day numbers and weekday numbers. | def monthdays2calendar(cls, year, month):
""" Return a list of the weeks in the month month of the year as full weeks.
Weeks are lists of seven tuples of day numbers and weekday numbers. """
weeks = []
week = []
for day in NepCal.itermonthdays2(year, month):
week.appe... |
Setter method for mac_move_limit mapped from YANG variable/ mac_address_table/ mac_move/ mac_move_limit ( uint32 ) If this variable is read - only ( config: false ) in the source YANG file then _set_mac_move_limit is considered as a private method. Backends looking to populate this variable should do so via calling thi... | def _set_mac_move_limit(self, v, load=False):
"""
Setter method for mac_move_limit, mapped from YANG variable /mac_address_table/mac_move/mac_move_limit (uint32)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_move_limit is considered as a private
method. Backend... |
Setter method for mac_move_action mapped from YANG variable/ mac_address_table/ mac_move/ mac_move_action ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_mac_move_action is considered as a private method. Backends looking to populate this variable should do so via cal... | def _set_mac_move_action(self, v, load=False):
"""
Setter method for mac_move_action, mapped from YANG variable /mac_address_table/mac_move/mac_move_action (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_mac_move_action is considered as a private
method... |
Setter method for auto_recovery mapped from YANG variable/ mac_address_table/ mac_move/ auto_recovery ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_auto_recovery is considered as a private method. Backends looking to populate this variable should do so via calling thi... | def _set_auto_recovery(self, v, load=False):
"""
Setter method for auto_recovery, mapped from YANG variable /mac_address_table/mac_move/auto_recovery (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_auto_recovery is considered as a private
method. Backends... |
Setter method for mpls_traffic_lsps mapped from YANG variable/ telemetry/ profile/ mpls_traffic_lsp/ mpls_traffic_lsps ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_mpls_traffic_lsps is considered as a private method. Backends looking to populate this variable should do so... | def _set_mpls_traffic_lsps(self, v, load=False):
"""
Setter method for mpls_traffic_lsps, mapped from YANG variable /telemetry/profile/mpls_traffic_lsp/mpls_traffic_lsps (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_mpls_traffic_lsps is considered as a private
... |
Setter method for ldp mapped from YANG variable/ mpls_state/ ldp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_ldp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_ldp () directly. | def _set_ldp(self, v, load=False):
"""
Setter method for ldp, mapped from YANG variable /mpls_state/ldp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_ldp is considered as a private
method. Backends looking to populate this variable should
do so via ... |
Setter method for policy mapped from YANG variable/ mpls_state/ policy ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_policy is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_policy () directly. | def _set_policy(self, v, load=False):
"""
Setter method for policy, mapped from YANG variable /mpls_state/policy (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_policy is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for rsvp mapped from YANG variable/ mpls_state/ rsvp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_rsvp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_rsvp () directly. | def _set_rsvp(self, v, load=False):
"""
Setter method for rsvp, mapped from YANG variable /mpls_state/rsvp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_rsvp is considered as a private
method. Backends looking to populate this variable should
do so ... |
Setter method for dynamic_bypass mapped from YANG variable/ mpls_state/ dynamic_bypass ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_dynamic_bypass is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_dyn... | def _set_dynamic_bypass(self, v, load=False):
"""
Setter method for dynamic_bypass, mapped from YANG variable /mpls_state/dynamic_bypass (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_dynamic_bypass is considered as a private
method. Backends looking to ... |
Setter method for te mapped from YANG variable/ mpls_state/ te ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_te is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_te () directly. | def _set_te(self, v, load=False):
"""
Setter method for te, mapped from YANG variable /mpls_state/te (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_te is considered as a private
method. Backends looking to populate this variable should
do so via call... |
Setter method for autobw_threshold_table_summary mapped from YANG variable/ mpls_state/ autobw_threshold_table_summary ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_autobw_threshold_table_summary is considered as a private method. Backends looking to populate this var... | def _set_autobw_threshold_table_summary(self, v, load=False):
"""
Setter method for autobw_threshold_table_summary, mapped from YANG variable /mpls_state/autobw_threshold_table_summary (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_autobw_threshold_table_sum... |
Setter method for statistics_oam mapped from YANG variable/ mpls_state/ statistics_oam ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_statistics_oam is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_sta... | def _set_statistics_oam(self, v, load=False):
"""
Setter method for statistics_oam, mapped from YANG variable /mpls_state/statistics_oam (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_statistics_oam is considered as a private
method. Backends looking to ... |
Setter method for bridge_domain_counter mapped from YANG variable/ bridge_domain_state/ bridge_domain_counter ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_bridge_domain_counter is considered as a private method. Backends looking to populate this variable should do so... | def _set_bridge_domain_counter(self, v, load=False):
"""
Setter method for bridge_domain_counter, mapped from YANG variable /bridge_domain_state/bridge_domain_counter (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_bridge_domain_counter is considered as a pri... |
Setter method for path mapped from YANG variable/ mpls_config/ router/ mpls/ mpls_cmds_holder/ path ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_path is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_path ... | def _set_path(self, v, load=False):
"""
Setter method for path, mapped from YANG variable /mpls_config/router/mpls/mpls_cmds_holder/path (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_path is considered as a private
method. Backends looking to populate this v... |
Setter method for igmpPIM mapped from YANG variable/ interface_vlan/ vlan/ ip/ igmpPIM ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_igmpPIM is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_igmpPIM ()... | def _set_igmpPIM(self, v, load=False):
"""
Setter method for igmpPIM, mapped from YANG variable /interface_vlan/vlan/ip/igmpPIM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmpPIM is considered as a private
method. Backends looking to populate this va... |
Setter method for igmpVlan mapped from YANG variable/ interface_vlan/ vlan/ ip/ igmpVlan ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_igmpVlan is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_igmpVla... | def _set_igmpVlan(self, v, load=False):
"""
Setter method for igmpVlan, mapped from YANG variable /interface_vlan/vlan/ip/igmpVlan (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_igmpVlan is considered as a private
method. Backends looking to populate thi... |
Setter method for logical_instance mapped from YANG variable/ rbridge_id/ openflow/ logical_instance ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_logical_instance is considered as a private method. Backends looking to populate this variable should do so via calling thisOb... | def _set_logical_instance(self, v, load=False):
"""
Setter method for logical_instance, mapped from YANG variable /rbridge_id/openflow/logical_instance (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_logical_instance is considered as a private
method. Backends... |
Setter method for cfg mapped from YANG variable/ zoning/ defined_configuration/ cfg ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_cfg is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_cfg () directly. | def _set_cfg(self, v, load=False):
"""
Setter method for cfg, mapped from YANG variable /zoning/defined_configuration/cfg (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_cfg is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for zone mapped from YANG variable/ zoning/ defined_configuration/ zone ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_zone is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_zone () directly. | def _set_zone(self, v, load=False):
"""
Setter method for zone, mapped from YANG variable /zoning/defined_configuration/zone (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_zone is considered as a private
method. Backends looking to populate this variable shou... |
Setter method for alias mapped from YANG variable/ zoning/ defined_configuration/ alias ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_alias is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_alias () directl... | def _set_alias(self, v, load=False):
"""
Setter method for alias, mapped from YANG variable /zoning/defined_configuration/alias (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_alias is considered as a private
method. Backends looking to populate this variable ... |
Setter method for login mapped from YANG variable/ aaa_config/ aaa/ authentication/ login ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_login is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_login () ... | def _set_login(self, v, load=False):
"""
Setter method for login, mapped from YANG variable /aaa_config/aaa/authentication/login (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_login is considered as a private
method. Backends looking to populate this var... |
Setter method for fan mapped from YANG variable/ system_monitor/ fan ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_fan is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_fan () directly. | def _set_fan(self, v, load=False):
"""
Setter method for fan, mapped from YANG variable /system_monitor/fan (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_fan is considered as a private
method. Backends looking to populate this variable should
do so ... |
Setter method for temp mapped from YANG variable/ system_monitor/ temp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_temp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_temp () directly. | def _set_temp(self, v, load=False):
"""
Setter method for temp, mapped from YANG variable /system_monitor/temp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_temp is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for cid_card mapped from YANG variable/ system_monitor/ cid_card ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_cid_card is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_cid_card () direc... | def _set_cid_card(self, v, load=False):
"""
Setter method for cid_card, mapped from YANG variable /system_monitor/cid_card (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_cid_card is considered as a private
method. Backends looking to populate this variab... |
Setter method for compact_flash mapped from YANG variable/ system_monitor/ compact_flash ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_compact_flash is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_co... | def _set_compact_flash(self, v, load=False):
"""
Setter method for compact_flash, mapped from YANG variable /system_monitor/compact_flash (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_compact_flash is considered as a private
method. Backends looking to ... |
Setter method for MM mapped from YANG variable/ system_monitor/ MM ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_MM is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_MM () directly. | def _set_MM(self, v, load=False):
"""
Setter method for MM, mapped from YANG variable /system_monitor/MM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_MM is considered as a private
method. Backends looking to populate this variable should
do so via ... |
Setter method for LineCard mapped from YANG variable/ system_monitor/ LineCard ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_LineCard is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_LineCard () direc... | def _set_LineCard(self, v, load=False):
"""
Setter method for LineCard, mapped from YANG variable /system_monitor/LineCard (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_LineCard is considered as a private
method. Backends looking to populate this variab... |
Setter method for SFM mapped from YANG variable/ system_monitor/ SFM ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_SFM is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_SFM () directly. | def _set_SFM(self, v, load=False):
"""
Setter method for SFM, mapped from YANG variable /system_monitor/SFM (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_SFM is considered as a private
method. Backends looking to populate this variable should
do so ... |
Setter method for port mapped from YANG variable/ system_monitor/ port ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_port is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_port () directly. | def _set_port(self, v, load=False):
"""
Setter method for port, mapped from YANG variable /system_monitor/port (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_port is considered as a private
method. Backends looking to populate this variable should
do... |
Setter method for tm mapped from YANG variable/ system_monitor/ tm ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_tm is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_tm () directly. | def _set_tm(self, v, load=False):
"""
Setter method for tm, mapped from YANG variable /system_monitor/tm (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tm is considered as a private
method. Backends looking to populate this variable should
do so via ... |
Setter method for lldp mapped from YANG variable/ protocol/ lldp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_lldp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_lldp () directly. | def _set_lldp(self, v, load=False):
"""
Setter method for lldp, mapped from YANG variable /protocol/lldp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_lldp is considered as a private
method. Backends looking to populate this variable should
do so vi... |
Setter method for enumList mapped from YANG variable/ rule/ command/ enumList ( enumeration ) If this variable is read - only ( config: false ) in the source YANG file then _set_enumList is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_enumList () dire... | def _set_enumList(self, v, load=False):
"""
Setter method for enumList, mapped from YANG variable /rule/command/enumList (enumeration)
If this variable is read-only (config: false) in the
source YANG file, then _set_enumList is considered as a private
method. Backends looking to populate this variab... |
Setter method for interface_fe mapped from YANG variable/ rule/ command/ interface_fe ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_interface_fe is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_interf... | def _set_interface_fe(self, v, load=False):
"""
Setter method for interface_fe, mapped from YANG variable /rule/command/interface_fe (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_interface_fe is considered as a private
method. Backends looking to popula... |
Setter method for tx_queue mapped from YANG variable/ qos/ tx_queue ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_tx_queue is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_tx_queue () directly. | def _set_tx_queue(self, v, load=False):
"""
Setter method for tx_queue, mapped from YANG variable /qos/tx_queue (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_tx_queue is considered as a private
method. Backends looking to populate this variable should
... |
Setter method for transport_service mapped from YANG variable/ interface_vlan/ interface/ vlan/ transport_service ( uint16 ) If this variable is read - only ( config: false ) in the source YANG file then _set_transport_service is considered as a private method. Backends looking to populate this variable should do so vi... | def _set_transport_service(self, v, load=False):
"""
Setter method for transport_service, mapped from YANG variable /interface_vlan/interface/vlan/transport_service (uint16)
If this variable is read-only (config: false) in the
source YANG file, then _set_transport_service is considered as a private
... |
Setter method for vlan_name mapped from YANG variable/ interface_vlan/ interface/ vlan/ vlan_name ( string ) If this variable is read - only ( config: false ) in the source YANG file then _set_vlan_name is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_... | def _set_vlan_name(self, v, load=False):
"""
Setter method for vlan_name, mapped from YANG variable /interface_vlan/interface/vlan/vlan_name (string)
If this variable is read-only (config: false) in the
source YANG file, then _set_vlan_name is considered as a private
method. Backends looking to popu... |
Setter method for private_vlan mapped from YANG variable/ interface_vlan/ interface/ vlan/ private_vlan ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_private_vlan is considered as a private method. Backends looking to populate this variable should do so via calling th... | def _set_private_vlan(self, v, load=False):
"""
Setter method for private_vlan, mapped from YANG variable /interface_vlan/interface/vlan/private_vlan (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_private_vlan is considered as a private
method. Backends ... |
Setter method for remote_span mapped from YANG variable/ interface_vlan/ interface/ vlan/ remote_span ( empty ) If this variable is read - only ( config: false ) in the source YANG file then _set_remote_span is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. ... | def _set_remote_span(self, v, load=False):
"""
Setter method for remote_span, mapped from YANG variable /interface_vlan/interface/vlan/remote_span (empty)
If this variable is read-only (config: false) in the
source YANG file, then _set_remote_span is considered as a private
method. Backends looking ... |
Setter method for exp_traffic_class mapped from YANG variable/ qos_mpls/ map/ exp_traffic_class ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_exp_traffic_class is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _... | def _set_exp_traffic_class(self, v, load=False):
"""
Setter method for exp_traffic_class, mapped from YANG variable /qos_mpls/map/exp_traffic_class (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_exp_traffic_class is considered as a private
method. Backends lo... |
Setter method for traffic_class_exp mapped from YANG variable/ qos_mpls/ map/ traffic_class_exp ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_traffic_class_exp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _... | def _set_traffic_class_exp(self, v, load=False):
"""
Setter method for traffic_class_exp, mapped from YANG variable /qos_mpls/map/traffic_class_exp (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_traffic_class_exp is considered as a private
method. Backends lo... |
Setter method for dscp_exp mapped from YANG variable/ qos_mpls/ map/ dscp_exp ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_dscp_exp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_dscp_exp () directly. | def _set_dscp_exp(self, v, load=False):
"""
Setter method for dscp_exp, mapped from YANG variable /qos_mpls/map/dscp_exp (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_dscp_exp is considered as a private
method. Backends looking to populate this variable shou... |
Setter method for exp_dscp mapped from YANG variable/ qos_mpls/ map/ exp_dscp ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_exp_dscp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_exp_dscp () directly. | def _set_exp_dscp(self, v, load=False):
"""
Setter method for exp_dscp, mapped from YANG variable /qos_mpls/map/exp_dscp (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_exp_dscp is considered as a private
method. Backends looking to populate this variable shou... |
Setter method for inexp_outexp mapped from YANG variable/ qos_mpls/ map/ inexp_outexp ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_inexp_outexp is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_inexp_outex... | def _set_inexp_outexp(self, v, load=False):
"""
Setter method for inexp_outexp, mapped from YANG variable /qos_mpls/map/inexp_outexp (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_inexp_outexp is considered as a private
method. Backends looking to populate th... |
Setter method for computation_mode mapped from YANG variable/ mpls_state/ lsp/ frr/ computation_mode ( lsp - cspf - computation - mode ) If this variable is read - only ( config: false ) in the source YANG file then _set_computation_mode is considered as a private method. Backends looking to populate this variable shou... | def _set_computation_mode(self, v, load=False):
"""
Setter method for computation_mode, mapped from YANG variable /mpls_state/lsp/frr/computation_mode (lsp-cspf-computation-mode)
If this variable is read-only (config: false) in the
source YANG file, then _set_computation_mode is considered as a private
... |
Setter method for map_apply mapped from YANG variable/ qos_mpls/ map_apply ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_map_apply is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_map_apply () directl... | def _set_map_apply(self, v, load=False):
"""
Setter method for map_apply, mapped from YANG variable /qos_mpls/map_apply (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_map_apply is considered as a private
method. Backends looking to populate this variable... |
Setter method for domain_name mapped from YANG variable/ protocol/ cfm/ domain_name ( list ) If this variable is read - only ( config: false ) in the source YANG file then _set_domain_name is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_domain_name ()... | def _set_domain_name(self, v, load=False):
"""
Setter method for domain_name, mapped from YANG variable /protocol/cfm/domain_name (list)
If this variable is read-only (config: false) in the
source YANG file, then _set_domain_name is considered as a private
method. Backends looking to populate this v... |
A wrapper for the the entire SomaticSniper sub - graph. | def run_somaticsniper_with_merge(job, tumor_bam, normal_bam, univ_options, somaticsniper_options):
"""
A wrapper for the the entire SomaticSniper sub-graph.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_o... |
Run the SomaticSniper subgraph on the DNA bams. Optionally split the results into per - chromosome vcfs. | def run_somaticsniper(job, tumor_bam, normal_bam, univ_options, somaticsniper_options, split=True):
"""
Run the SomaticSniper subgraph on the DNA bams. Optionally split the results into
per-chromosome vcfs.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict o... |
Run SomaticSniper on the DNA bams. | def run_somaticsniper_full(job, tumor_bam, normal_bam, univ_options, somaticsniper_options):
"""
Run SomaticSniper on the DNA bams.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict normal_bam: Dict of bam and bai for normal DNA-Seq
:param dict univ_options: Dict of universal... |
Filter SomaticSniper calls. | def filter_somaticsniper(job, tumor_bam, somaticsniper_output, tumor_pileup, univ_options,
somaticsniper_options):
"""
Filter SomaticSniper calls.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param toil.fileStore.FileID somaticsniper_output: SomaticSniper outpu... |
Runs a samtools pileup on the tumor bam. | def run_pileup(job, tumor_bam, univ_options, somaticsniper_options):
"""
Runs a samtools pileup on the tumor bam.
:param dict tumor_bam: Dict of bam and bai for tumor DNA-Seq
:param dict univ_options: Dict of universal options used by almost all tools
:param dict somaticsniper_options: Options spec... |
Get an action cache key string. | def get_action_cache_key(name, argument):
"""Get an action cache key string."""
tokens = [str(name)]
if argument:
tokens.append(str(argument))
return '::'.join(tokens) |
Remove the action from cache when an item is inserted or deleted. | def removed_or_inserted_action(mapper, connection, target):
"""Remove the action from cache when an item is inserted or deleted."""
current_access.delete_action_cache(get_action_cache_key(target.action,
target.argument)) |
Remove the action from cache when an item is updated. | def changed_action(mapper, connection, target):
"""Remove the action from cache when an item is updated."""
action_history = get_history(target, 'action')
argument_history = get_history(target, 'argument')
owner_history = get_history(
target,
'user' if isinstance(target, ActionUsers) els... |
Create new database row using the provided action need. | def create(cls, action, **kwargs):
"""Create new database row using the provided action need.
:param action: An object containing a method equal to ``'action'`` and
a value.
:param argument: The action argument. If this parameter is not passed,
then the ``action.argument... |
Allow the given action need. | def allow(cls, action, **kwargs):
"""Allow the given action need.
:param action: The action to allow.
:returns: A :class:`invenio_access.models.ActionNeedMixin` instance.
"""
return cls.create(action, exclude=False, **kwargs) |
Deny the given action need. | def deny(cls, action, **kwargs):
"""Deny the given action need.
:param action: The action to deny.
:returns: A :class:`invenio_access.models.ActionNeedMixin` instance.
"""
return cls.create(action, exclude=True, **kwargs) |
Prepare query object with filtered action. | def query_by_action(cls, action, argument=None):
"""Prepare query object with filtered action.
:param action: The action to deny.
:param argument: The action argument. If it's ``None`` then, if exists,
the ``action.argument`` will be taken. In the worst case will be
set ... |
Create new database row using the provided action need. | def create(cls, action, **kwargs):
"""Create new database row using the provided action need."""
role = kwargs.pop('role', None)
if role:
assert role.method == 'system_role'
kwargs['role_name'] = role.value
return super(ActionSystemRoles, cls).create(action, **kwa... |
Setter method for bna_config_cmd mapped from YANG variable/ brocade_ras_rpc/ bna_config_cmd ( rpc ) If this variable is read - only ( config: false ) in the source YANG file then _set_bna_config_cmd is considered as a private method. Backends looking to populate this variable should do so via calling thisObj. _set_bna_... | def _set_bna_config_cmd(self, v, load=False):
"""
Setter method for bna_config_cmd, mapped from YANG variable /brocade_ras_rpc/bna_config_cmd (rpc)
If this variable is read-only (config: false) in the
source YANG file, then _set_bna_config_cmd is considered as a private
method. Backends looking to p... |
Setter method for show_cluster_mem_bd mapped from YANG variable/ mct_l2ys_state/ show_cluster_mem_bd ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_show_cluster_mem_bd is considered as a private method. Backends looking to populate this variable should do so via callin... | def _set_show_cluster_mem_bd(self, v, load=False):
"""
Setter method for show_cluster_mem_bd, mapped from YANG variable /mct_l2ys_state/show_cluster_mem_bd (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_show_cluster_mem_bd is considered as a private
meth... |
Setter method for master_vlan mapped from YANG variable/ topology_group_state/ topology_group_data/ master_vlan ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_master_vlan is considered as a private method. Backends looking to populate this variable should do so via cal... | def _set_master_vlan(self, v, load=False):
"""
Setter method for master_vlan, mapped from YANG variable /topology_group_state/topology_group_data/master_vlan (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_master_vlan is considered as a private
method. Ba... |
Setter method for redistribute_connected mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ redistribute/ redistribute_connected ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_redistribute_connected is considered as a private method. Backends looking to populat... | def _set_redistribute_connected(self, v, load=False):
"""
Setter method for redistribute_connected, mapped from YANG variable /rbridge_id/ipv6/router/ospf/redistribute/redistribute_connected (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redistribute_connect... |
Setter method for redistribute_static mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ redistribute/ redistribute_static ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_redistribute_static is considered as a private method. Backends looking to populate this va... | def _set_redistribute_static(self, v, load=False):
"""
Setter method for redistribute_static, mapped from YANG variable /rbridge_id/ipv6/router/ospf/redistribute/redistribute_static (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redistribute_static is consid... |
Setter method for redistribute_bgp mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ redistribute/ redistribute_bgp ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_redistribute_bgp is considered as a private method. Backends looking to populate this variable sh... | def _set_redistribute_bgp(self, v, load=False):
"""
Setter method for redistribute_bgp, mapped from YANG variable /rbridge_id/ipv6/router/ospf/redistribute/redistribute_bgp (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redistribute_bgp is considered as a pr... |
Setter method for redistribute_ospf mapped from YANG variable/ rbridge_id/ ipv6/ router/ ospf/ redistribute/ redistribute_ospf ( container ) If this variable is read - only ( config: false ) in the source YANG file then _set_redistribute_ospf is considered as a private method. Backends looking to populate this variable... | def _set_redistribute_ospf(self, v, load=False):
"""
Setter method for redistribute_ospf, mapped from YANG variable /rbridge_id/ipv6/router/ospf/redistribute/redistribute_ospf (container)
If this variable is read-only (config: false) in the
source YANG file, then _set_redistribute_ospf is considered as ... |
Predict binding for each peptide in peptfile to allele using the IEDB mhci binding prediction tool. | def predict_mhci_binding(job, peptfile, allele, peplen, univ_options, mhci_options):
"""
Predict binding for each peptide in `peptfile` to `allele` using the IEDB mhci binding
prediction tool.
:param toil.fileStore.FileID peptfile: The input peptide fasta
:param str allele: Allele to predict bindin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.