Changeset 7752d1f in ammosreader for doc/ammosreader/AmmosContainer.html


Ignore:
Timestamp:
05/20/23 20:56:15 (2 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
f3b78e8
Parents:
4eb8a2f
Message:

mostly style changes after running pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/ammosreader/AmmosContainer.html

    r4eb8a2f r7752d1f  
    66<meta name="generator" content="pdoc 0.10.0" />
    77<title>ammosreader.AmmosContainer API documentation</title>
    8 <meta name="description" content="I store the content of an R&amp;S Ammos file in a more accessible way." />
     8<meta name="description" content="I provide an Ammos container." />
    99<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/sanitize.min.css" integrity="sha256-PK9q560IAAa6WVRRh76LtCaI8pjTJ2z11v0miyNNjrs=" crossorigin>
    1010<link rel="preload stylesheet" as="style" href="https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/11.0.1/typography.min.css" integrity="sha256-7l/o7C8jubJiy74VsKTidCy1yBkRtiUGbVkYBylBqUg=" crossorigin>
     
    2323</header>
    2424<section id="section-intro">
    25 <p>I store the content of an R&amp;S Ammos file in a more accessible way.</p>
    26 <details class="source">
    27 <summary>
    28 <span>Expand source code</span>
    29 </summary>
    30 <pre><code class="python">&#34;&#34;&#34;I store the content of an R&amp;S Ammos file in a more accessible way.&#34;&#34;&#34;
     25<p>I provide an Ammos container.</p>
     26<details class="source">
     27<summary>
     28<span>Expand source code</span>
     29</summary>
     30<pre><code class="python">&#34;&#34;&#34;I provide an Ammos container.&#34;&#34;&#34;
     31
    3132
    3233class AmmosContainer():
    33 
     34    &#34;&#34;&#34;I store the content of an R&amp;S Ammos file in a more accessible way.&#34;&#34;&#34;
    3435    def __init__(self, name, frames):
    3536        self.__name = name
     
    5657
    5758    def size(self):
    58         return sum([each.global_frame_header.frame_length for each in self.__global_frames])
     59        # return sum([each.global_frame_header.frame_length for each in self.__global_frames])
     60        return sum(each.global_frame_header.frame_length for each in self.__global_frames)
    5961
    6062    def frequencies(self):
     
    101103</code></dt>
    102104<dd>
    103 <div class="desc"></div>
     105<div class="desc"><p>I store the content of an R&amp;S Ammos file in a more accessible way.</p></div>
    104106<details class="source">
    105107<summary>
     
    107109</summary>
    108110<pre><code class="python">class AmmosContainer():
    109 
     111    &#34;&#34;&#34;I store the content of an R&amp;S Ammos file in a more accessible way.&#34;&#34;&#34;
    110112    def __init__(self, name, frames):
    111113        self.__name = name
     
    132134
    133135    def size(self):
    134         return sum([each.global_frame_header.frame_length for each in self.__global_frames])
     136        # return sum([each.global_frame_header.frame_length for each in self.__global_frames])
     137        return sum(each.global_frame_header.frame_length for each in self.__global_frames)
    135138
    136139    def frequencies(self):
     
    293296</summary>
    294297<pre><code class="python">def size(self):
    295     return sum([each.global_frame_header.frame_length for each in self.__global_frames])</code></pre>
     298    # return sum([each.global_frame_header.frame_length for each in self.__global_frames])
     299    return sum(each.global_frame_header.frame_length for each in self.__global_frames)</code></pre>
    296300</details>
    297301</dd>
Note: See TracChangeset for help on using the changeset viewer.