Skip to content

Commit

Permalink
fix unit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinesands committed Aug 13, 2024
1 parent 27962ff commit 40b5330
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def randomword(length):

# Randomly sized intensity data
self.name = randomword(10)
self.noFeat = numpy.random.randint(3,100)
self.noSamp = numpy.random.randint(3,100)
self.noFeat = numpy.random.randint(5,100)
self.noSamp = numpy.random.randint(5,100)
self.data._intensityData = numpy.random.rand(self.noSamp,self.noFeat)

self.data.sampleMetadata['Sample File Name'] = list(map(str, numpy.linspace(1, self.noSamp, num=self.noSamp, dtype=int)))
Expand Down
1 change: 1 addition & 0 deletions nPYc/Templates/Targeted_FinalReportNMR.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ <h2>Feature Summary</h2>
{% if 'NfeaturesPassing' in item %}
<p>*Features sorted by RSD in SP samples; with features passing selection (i.e., able to be accurately measured) above the line and those failing (i.e., not able to be accurately measured) below the line.</p>
{% endif %}
<p></p>
</div>

<!--Figures: Measured concentrations distribution, for features passing selection, split by sample types.-->
Expand Down

0 comments on commit 40b5330

Please sign in to comment.