Skip to content

Commit 8e467e7

Browse files
committed
deploy: a2f5fdd
1 parent 96c203b commit 8e467e7

File tree

5 files changed

+99
-99
lines changed

5 files changed

+99
-99
lines changed

AWS_hygiene_scripts.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ <h1>AWS Hygiene Scripts<a class="headerlink" href="#aws-hygiene-scripts" title="
436436
<section id="clean-out-old-alarms">
437437
<h2>Clean out old alarms<a class="headerlink" href="#clean-out-old-alarms" title="Permalink to this heading">#</a></h2>
438438
<p>Python:</p>
439-
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">boto3</span>
440-
<span class="kn">import</span> <span class="nn">time</span>
439+
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span><span class="w"> </span><span class="nn">boto3</span>
440+
<span class="kn">import</span><span class="w"> </span><span class="nn">time</span>
441441
<span class="n">filterstring</span> <span class="o">=</span> <span class="s1">&#39;MyProjectName&#39;</span>
442442
<span class="n">client</span> <span class="o">=</span> <span class="n">boto3</span><span class="o">.</span><span class="n">client</span><span class="p">(</span><span class="s1">&#39;cloudwatch&#39;</span><span class="p">)</span>
443443
<span class="n">alarms</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">describe_alarms</span><span class="p">(</span><span class="n">AlarmTypes</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;MetricAlarm&#39;</span><span class="p">],</span><span class="n">StateValue</span><span class="o">=</span><span class="s1">&#39;INSUFFICIENT_DATA&#39;</span><span class="p">)</span>

_sources/config_examples.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Our internal configurations for each pipeline are as follows:
5959
| AUTO_MONITOR | 'True' | 'True' | 'True' | 'True' | 'True' | Can be turned off if manually running Monitor. |
6060
| CREATE_DASHBOARD | 'True' | 'True' | 'True' | 'True' | 'True' | |
6161
| CLEAN_DASHBOARD | 'True' | 'True' | 'True' | 'True' | 'True' | |
62-
| CHECK_IF_DONE_BOOL | 'True' | 'True' | 'True' | 'True' | 'True' | Can be turned off if wanting to overwrite old data. |
63-
| EXPECTED_NUMBER_FILES | 1 (an image) | number channels + 1 (an .npy for each channel and isdone) | 3 (Experiment.csv, Image.csv, and isdone) | 1 (an image) | 5 (Experiment, Image, Cells, Nuclei, and Cytoplasm .csvs) | Better to underestimate than overestimate. |
62+
| CHECK_IF_DONE_BOOL | 'False' | 'True' | 'True' | 'True' | 'True' | Can be turned off if wanting to overwrite old data. |
63+
| EXPECTED_NUMBER_FILES | 1 (can be anything, False above) | number channels + 1 (an .npy for each channel and isdone) | 3 (Experiment.csv, Image.csv, and isdone) | 1 (an image) | 5 (Experiment, Image, Cells, Nuclei, and Cytoplasm .csvs) | Better to underestimate than overestimate. |
6464
| MIN_FILE_SIZE_BYTES | 1 | 1 | 1 | 1 | 1 | Count files of any size. |
6565
| NECESSARY_STRING | '' | '' | '' | '' | '' | Not necessary for standard workflows. |
6666
| ALWAYS_CONTINUE | 'False' | 'False' | 'False' | 'False' | 'False' | Use with caution. |

0 commit comments

Comments
 (0)