curdir = os.getcwd()# First look on the command line for a desired config file,# if it's not on the command line, then look for 'setup.py'# in the current directory. If there, load configuration# from a file called 'dev.cfg'. If it's not there, the project# is probably instal...
wf.base_dir = os.path.join(working_dir) nipype_cfg = dict(logging=dict(workflow_level='DEBUG'), execution={'stop_on_first_crash':True,'remove_unnecessary_outputs':True,'job_finished_timeout':120}) config.update_config(nipype_cfg) wf.config['execution']['crashdump_dir'] = os.path.joi...
args: ["--no-sandbox"], }); const page = await browser.newPage(); await page.goto( `https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=${config.client_id}&scope=offline_access%20User.Read&response_type=code&redirect_uri=${config.redirect_uri}` ); try { await...
setup.cfg tests/core/data test_callback.py 2 changes: 1 addition & 1 deletion 2 .pre-commit-config.yaml Original file line numberDiff line numberDiff line change @@ -69,7 +69,7 @@ repos: rev: v1.12.0 hooks: - id: blacken-docs args: [ --line-length=120 ] args: [ --lin...
cfg_track: max_person: 6 final_ranges: [[-5, -5, 0.], [5, 5, 5.]] # 最终的输出的range,仅用于输出的时候的筛选 final_max_person: 6 at_final: @@ -36,8 +37,8 @@ exp_opts: args: loss: smooth: weight: 1. weight: 5. vis_render: args: view_list: [0, 2, 4, 6] sc...
client.hset(*args, **kwargs) @omit_exception def hdel(self, *args, **kwargs): return self.client.hdel(*args, **kwargs) @omit_exception def hlen(self, *args, **kwargs): return self.client.hlen(*args, **kwargs) @omit_exception def hkeys(self, *args, **kwargs): return self....
configuration file under the tools repo (release/updates/*.cfg) OR it skips it when we use --installer-url --installer-path Each release info line of the update verification files look similar to the following. NOTE: This shows each pair of information as a new line but in reality ...
return_value = func(*args, **kwargs) config.clear() config.update(_original_config)returnreturn_value 开发者ID:AAEMCJALBERT,项目名称:ckan,代码行数:10,代码来源:helpers.py 示例6: wrapper ▲点赞 1▼ defwrapper(*args, **kwargs):_original_config = config.copy() ...
['nspawn_args'] = ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jytkwvgc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/...
LayerNorm(cfg.hidden_size) self.dropout = nn.Dropout(cfg.dropout_rate) def forward(self, query_states, key_states, attn_mask, query_self=False, data=None): def forward(self, query_states, key_states, attn_mask): """ Args: query_states: (B, N+M, Ci) float @@ -47,66 +47,...