Skip to content

Commit

Permalink
Fix incorrect indent
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jul 17, 2023
1 parent 8d77462 commit 386ea28
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/search/bank.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
pycbc_brute_bank \
--verbose \
--output-file bank.hdf \
--minimal-match 0.95 \
--minimal-match 0.9 \
--tolerance .005 \
--buffer-length 2 \
--sample-rate 2048 \
Expand All @@ -15,7 +15,7 @@ pycbc_brute_bank \
--tau0-end 50 \
--psd-model aLIGOZeroDetLowPower \
--min 10 10 0 0 \
--max 40 40 .2 .2 \
--max 30 30 .1 .1 \
--params mass1 mass2 spin1z spin2z \
--seed 1 \
--low-frequency-cutoff 20.0
6 changes: 6 additions & 0 deletions examples/search/executables.ini
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ pycbc|unique-scratch =
; use different site options to check that they work
pycbc|site = condorpool_copy

[pegasus_profile-bank2hdf]
pycbc|retention_level = DO_NOT_KEEP

[pegasus_profile-splitbank]
pycbc|retention_level = DO_NOT_KEEP

[pegasus_profile-inspiral]
; use different site options to check that they work
pycbc|site = condorpool_shared
Expand Down
6 changes: 4 additions & 2 deletions examples/search/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ set -e

pycbc_make_offline_search_workflow \
--workflow-name gw \
--output-dir output \
--output-dir output_with_reuse \
--config-files analysis.ini plotting.ini executables.ini injections_minimal.ini \
--config-overrides results_page:output-path:$(pwd)/html
--config-overrides results_page:output-path:$(pwd)/html \
--submit-now \
--cache-file reuse.cache \
7 changes: 3 additions & 4 deletions examples/search/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
set -e

bash -e get.sh
bash -e bank.sh
#bash -e bank.sh
bash -e stats.sh
bash -e gen.sh

cp *.gwf output
cd output
bash -e ../submit.sh
python ../check_job.py
#bash -e ../submit.sh
#python ../check_job.py
3 changes: 1 addition & 2 deletions pycbc/workflow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,7 @@ def update_current_retention_level(self, value):
'all_triggers' : 2,
'merged_triggers' : 3,
'results' : 4
}

}
try:
self.global_retention_threshold = \
retention_choices[global_retention_level]
Expand Down

0 comments on commit 386ea28

Please sign in to comment.