rapidpe-rift-pipe 0.6.10.dev20241112__py3-none-any.whl → 0.7.1.dev20241119__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rapidpe_rift_pipe/__init__.py +1 -1
- rapidpe_rift_pipe/config.py +6 -0
- rapidpe_rift_pipe/create_submit_dag_one_event.py +11 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/METADATA +1 -1
- rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/RECORD +31 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/WHEEL +1 -1
- rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/RECORD +0 -31
- {rapidpe_rift_pipe-0.6.10.dev20241112.data → rapidpe_rift_pipe-0.7.1.dev20241119.data}/scripts/compute_posterior.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.data → rapidpe_rift_pipe-0.7.1.dev20241119.data}/scripts/convert_result_to_txt.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.data → rapidpe_rift_pipe-0.7.1.dev20241119.data}/scripts/cprofile_summary.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.data → rapidpe_rift_pipe-0.7.1.dev20241119.data}/scripts/create_summarypage.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.data → rapidpe_rift_pipe-0.7.1.dev20241119.data}/scripts/plot_skymap.py +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/COPYING +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/entry_points.txt +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/top_level.txt +0 -0
- {rapidpe_rift_pipe-0.6.10.dev20241112.dist-info → rapidpe_rift_pipe-0.7.1.dev20241119.dist-info}/zip-safe +0 -0
rapidpe_rift_pipe/__init__.py
CHANGED
rapidpe_rift_pipe/config.py
CHANGED
@@ -67,6 +67,7 @@ class Config:
|
|
67
67
|
# Entire sections parsed as dicts
|
68
68
|
common_event_info: dict
|
69
69
|
integrate_likelihood_cmds_dict: dict
|
70
|
+
integrate_likelihood_condor_commands: dict
|
70
71
|
create_event_dag_info: dict
|
71
72
|
create_event_dag_condor_commands: dict
|
72
73
|
grid_refine_info: dict
|
@@ -216,6 +217,11 @@ class Config:
|
|
216
217
|
attrs["integrate_likelihood_cmds_dict"] = (
|
217
218
|
convert_section_args_to_dict(cfg, "LikelihoodIntegration")
|
218
219
|
)
|
220
|
+
attrs["integrate_likelihood_condor_commands"] = (
|
221
|
+
convert_section_args_to_dict(
|
222
|
+
cfg, "LikelihoodIntegration_condor_commands",
|
223
|
+
)
|
224
|
+
)
|
219
225
|
attrs["create_event_dag_info"] = (
|
220
226
|
convert_section_args_to_dict(cfg, "CreateEventDag")
|
221
227
|
)
|
@@ -164,6 +164,9 @@ def main(config, event_info=None):
|
|
164
164
|
newlines += f"log = {log_dir}/integrate.log\nerror = {log_dir}/integrate.err\noutput = {log_dir}/integrate.out\n"
|
165
165
|
newlines += "notification = never\nqueue 1\n"
|
166
166
|
|
167
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
168
|
+
newlines += f"{k} = {v}"
|
169
|
+
|
167
170
|
sub_file_path = os.path.join(output_dir,"integrate.sub")
|
168
171
|
with open(sub_file_path,"w") as fo:
|
169
172
|
fo.write(newlines)
|
@@ -242,6 +245,9 @@ def main(config, event_info=None):
|
|
242
245
|
## TODO: integrate into config.py
|
243
246
|
it_0_dag_cmd += convert_dict_to_cmd_line(config.create_event_dag_info)
|
244
247
|
|
248
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
249
|
+
it_0_dag_cmd += f" --condor-command {k}={v}"
|
250
|
+
|
245
251
|
print(("Iteration 0 dag cmd:\n", it_0_dag_cmd))
|
246
252
|
exit_status = os.system(it_0_dag_cmd)
|
247
253
|
if exit_status != 0:
|
@@ -301,6 +307,11 @@ def main(config, event_info=None):
|
|
301
307
|
#Option added to create_event_dag to use integration.sub file which was generated for iteration 0, regenerating it is unnecessary.
|
302
308
|
#FIXME: add this option to rapidpe_create_event_dag
|
303
309
|
iteration_job.add_opt("condor-command","accounting_group="+config.accounting_group)
|
310
|
+
# HACK: glue.pipeline doesn't allow repeated add_opt calls with the same
|
311
|
+
# key, because it uses a dict to store them. Using add_arg
|
312
|
+
# instead to append additional --condor-command options.
|
313
|
+
for k, v in config.integrate_likelihood_condor_commands.items():
|
314
|
+
iteration_job.add_arg(f"--condor-command {k}={v}")
|
304
315
|
iteration_job.add_opt("accounting-group-user",config.accounting_group_user)
|
305
316
|
if len(config.getenv) != 0:
|
306
317
|
iteration_job.add_opt("getenv", " ".join(config.getenv))
|
@@ -0,0 +1,31 @@
|
|
1
|
+
rapidpe_rift_pipe/__init__.py,sha256=pA1Ps0nWODErncH9_hjrmklb-bvQAzHJeYTHZDsX1Lk,101
|
2
|
+
rapidpe_rift_pipe/cli.py,sha256=F6mxjoPw-diCW7DrwC6SdgHTLIrOqJI5vLp3pSAzZyI,48083
|
3
|
+
rapidpe_rift_pipe/config.py,sha256=FXh5uEQeNQ_p48WulMQS78HD1sgBSeSSBUVe62ZAZn4,19095
|
4
|
+
rapidpe_rift_pipe/create_submit_dag_one_event.py,sha256=jAKuQePF6hAJ7uhAe6enQqvA0wjLDP6wB-tl20UajAc,33756
|
5
|
+
rapidpe_rift_pipe/jacobians.py,sha256=Lo2BBo_FWZtoWRU5KZKTrzNl_4NgPTFqXAJWOmCqOCU,2736
|
6
|
+
rapidpe_rift_pipe/modules.py,sha256=OIpltxelL85i9pJ8dLo2QYwtM0CkhyJhy9EuPOyAyxI,9701
|
7
|
+
rapidpe_rift_pipe/pastro.py,sha256=w5sg2DMkLFcQrSUKTXXYqBQukf3C-gu0DAVH5B3oAFQ,4198
|
8
|
+
rapidpe_rift_pipe/postscript_utils.py,sha256=ziuHrDvN2TjqUxmVlXV3_FpNu_0J5QigA9a7uc32yl4,28898
|
9
|
+
rapidpe_rift_pipe/profiling.py,sha256=tPXuo_Rj4MjsAgE9tOESxX-zAlWPVRKgpmOC91UnT0g,2260
|
10
|
+
rapidpe_rift_pipe/search_bias_bounds.py,sha256=7MYxOYDZXWf1OMb8Nv8v8saeh_ArArHGBJMVj84kYUA,2412
|
11
|
+
rapidpe_rift_pipe/test_cli.py,sha256=P-g-zH2gfFTnXUVLnoHysR46Q7QCf0OjWIDBEOcWGSA,75
|
12
|
+
rapidpe_rift_pipe/test_config.py,sha256=jaoPxEnsHJ2Uw-mdgwb9EAAuPE8Uu9xBOP1T7SeKbtc,2064
|
13
|
+
rapidpe_rift_pipe/test_modules.py,sha256=30hSuoNv5rarfdF28HEuD-DMKfQEVQbJx_7luocmFIU,369
|
14
|
+
rapidpe_rift_pipe/utils.py,sha256=8h1ONp9QT0wsJdhtH3V6oeVmTY-f6WT5aeAk2Vrx7es,1087
|
15
|
+
rapidpe_rift_pipe/config_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
+
rapidpe_rift_pipe/config_files/search_bias_bounds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
+
rapidpe_rift_pipe/config_files/search_bias_bounds/default.json,sha256=sIefZ0bRpUvYBFiSnPeMxk8tXdiuphLH7WsVgoJqTZM,4536
|
18
|
+
rapidpe_rift_pipe/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
+
rapidpe_rift_pipe/static/stylesheet.css,sha256=ZNCsudHPSoQHhlGhsyp1bkiHtViGaVH_1zg-qvs4EMc,1968
|
20
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.data/scripts/compute_posterior.py,sha256=FBGoCKElttVCgx_81XpKm1ydx94zgi5Cm8P70Vs4sks,12762
|
21
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.data/scripts/convert_result_to_txt.py,sha256=CnSeppeZbG5AUGr9ZQek_jdcQ4iwVUtwyh6ZHkMFM4M,12410
|
22
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.data/scripts/cprofile_summary.py,sha256=pgBk_3YMwt74vL-lPWR1zS6ymXO60gNkEVRX3omadCw,6328
|
23
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.data/scripts/create_summarypage.py,sha256=u0lQC6UQZDayaykosDPcHj_vqxIE0F5BQOV32Ex_Rrw,6285
|
24
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.data/scripts/plot_skymap.py,sha256=FMytw4hSfA3tCwmkLrkL0WxEAwA1fmbmi1_8L0YcrK8,3710
|
25
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/COPYING,sha256=LbAbFn5v8J3vtiXEIWfvoNr1HAYT1RG7YxRj4mabYTU,18046
|
26
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/METADATA,sha256=B-MVydBUm_lr5qpqQxqGbfysS0JjAtOyzl_HrVXCAIM,1451
|
27
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
28
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/entry_points.txt,sha256=1W8NQSDH-atGxb-w6ySdI0s4GACHYEHFrqB-ijrykWc,65
|
29
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/top_level.txt,sha256=IAUp8O4FXR8jydbZLzYvin2CWcu2fw4zsvUC8CQS0JM,18
|
30
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
31
|
+
rapidpe_rift_pipe-0.7.1.dev20241119.dist-info/RECORD,,
|
@@ -1,31 +0,0 @@
|
|
1
|
-
rapidpe_rift_pipe/__init__.py,sha256=1TFfHlcUj7xo-IcziCs2fTkr5KJQLZN750PUPIWDizE,102
|
2
|
-
rapidpe_rift_pipe/cli.py,sha256=F6mxjoPw-diCW7DrwC6SdgHTLIrOqJI5vLp3pSAzZyI,48083
|
3
|
-
rapidpe_rift_pipe/config.py,sha256=Q4FU_pZjmwyf7ClhOa3CeF6BOk3T8JoueY-1xtj0etI,18862
|
4
|
-
rapidpe_rift_pipe/create_submit_dag_one_event.py,sha256=nmTtMZWXxNkbQPnpWG2vEfvGMHtd9BnsuLDOwwCzJVU,33152
|
5
|
-
rapidpe_rift_pipe/jacobians.py,sha256=Lo2BBo_FWZtoWRU5KZKTrzNl_4NgPTFqXAJWOmCqOCU,2736
|
6
|
-
rapidpe_rift_pipe/modules.py,sha256=OIpltxelL85i9pJ8dLo2QYwtM0CkhyJhy9EuPOyAyxI,9701
|
7
|
-
rapidpe_rift_pipe/pastro.py,sha256=w5sg2DMkLFcQrSUKTXXYqBQukf3C-gu0DAVH5B3oAFQ,4198
|
8
|
-
rapidpe_rift_pipe/postscript_utils.py,sha256=ziuHrDvN2TjqUxmVlXV3_FpNu_0J5QigA9a7uc32yl4,28898
|
9
|
-
rapidpe_rift_pipe/profiling.py,sha256=tPXuo_Rj4MjsAgE9tOESxX-zAlWPVRKgpmOC91UnT0g,2260
|
10
|
-
rapidpe_rift_pipe/search_bias_bounds.py,sha256=7MYxOYDZXWf1OMb8Nv8v8saeh_ArArHGBJMVj84kYUA,2412
|
11
|
-
rapidpe_rift_pipe/test_cli.py,sha256=P-g-zH2gfFTnXUVLnoHysR46Q7QCf0OjWIDBEOcWGSA,75
|
12
|
-
rapidpe_rift_pipe/test_config.py,sha256=jaoPxEnsHJ2Uw-mdgwb9EAAuPE8Uu9xBOP1T7SeKbtc,2064
|
13
|
-
rapidpe_rift_pipe/test_modules.py,sha256=30hSuoNv5rarfdF28HEuD-DMKfQEVQbJx_7luocmFIU,369
|
14
|
-
rapidpe_rift_pipe/utils.py,sha256=8h1ONp9QT0wsJdhtH3V6oeVmTY-f6WT5aeAk2Vrx7es,1087
|
15
|
-
rapidpe_rift_pipe/config_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
|
-
rapidpe_rift_pipe/config_files/search_bias_bounds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
-
rapidpe_rift_pipe/config_files/search_bias_bounds/default.json,sha256=sIefZ0bRpUvYBFiSnPeMxk8tXdiuphLH7WsVgoJqTZM,4536
|
18
|
-
rapidpe_rift_pipe/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
rapidpe_rift_pipe/static/stylesheet.css,sha256=ZNCsudHPSoQHhlGhsyp1bkiHtViGaVH_1zg-qvs4EMc,1968
|
20
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.data/scripts/compute_posterior.py,sha256=FBGoCKElttVCgx_81XpKm1ydx94zgi5Cm8P70Vs4sks,12762
|
21
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.data/scripts/convert_result_to_txt.py,sha256=CnSeppeZbG5AUGr9ZQek_jdcQ4iwVUtwyh6ZHkMFM4M,12410
|
22
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.data/scripts/cprofile_summary.py,sha256=pgBk_3YMwt74vL-lPWR1zS6ymXO60gNkEVRX3omadCw,6328
|
23
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.data/scripts/create_summarypage.py,sha256=u0lQC6UQZDayaykosDPcHj_vqxIE0F5BQOV32Ex_Rrw,6285
|
24
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.data/scripts/plot_skymap.py,sha256=FMytw4hSfA3tCwmkLrkL0WxEAwA1fmbmi1_8L0YcrK8,3710
|
25
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/COPYING,sha256=LbAbFn5v8J3vtiXEIWfvoNr1HAYT1RG7YxRj4mabYTU,18046
|
26
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/METADATA,sha256=2fSLILvqyjzMnS3xB56eJWdZhR-EenuM5_iBzeEEnjw,1452
|
27
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/WHEEL,sha256=a7TGlA-5DaHMRrarXjVbQagU3Man_dCnGIWMJr5kRWo,91
|
28
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/entry_points.txt,sha256=1W8NQSDH-atGxb-w6ySdI0s4GACHYEHFrqB-ijrykWc,65
|
29
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/top_level.txt,sha256=IAUp8O4FXR8jydbZLzYvin2CWcu2fw4zsvUC8CQS0JM,18
|
30
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
31
|
-
rapidpe_rift_pipe-0.6.10.dev20241112.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|