Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
fix: also set flow rate in measurement browser to .5f (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jun 5, 2018
1 parent b9e47cb commit a7c1985
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Expand Up @@ -13,7 +13,7 @@
containing NaN values are now ignored (fcswrite 0.1.3.dev22) (#215)
- Improve displayed float values for selected configuration keys (#216)
- Unicode error when searching for data sets on disk (#218)
- Unicode error when perfming LMM analysis on some setups (#217)
- Unicode error when performing LMM analysis on some setups (#217)
0.8.5
- Update plotting range when switching to log scale (#198)
- Allow to fix plotting range to retain previous behavior (#198)
Expand Down
6 changes: 3 additions & 3 deletions shapeout/gui/explorer.py
Expand Up @@ -311,13 +311,13 @@ def Update(self, e=None):
flr.sort()

if len(flr) >= 1:
self.btn_selflow1.SetLabel(u"{} µls⁻¹".format(flr[0]))
self.btn_selflow1.SetLabel(u"{:.5f} µls⁻¹".format(flr[0]))
self.btn_selflow1.Enable()
if len(flr) >= 2:
self.btn_selflow2.SetLabel(u"{} µls⁻¹".format(flr[1]))
self.btn_selflow2.SetLabel(u"{:.5f} µls⁻¹".format(flr[1]))
self.btn_selflow2.Enable()
if len(flr) >= 3:
self.btn_selflow3.SetLabel(u"{} µls⁻¹".format(flr[2]))
self.btn_selflow3.SetLabel(u"{:.5f} µls⁻¹".format(flr[2]))
self.btn_selflow3.Enable()
if len(flr) > 3:
warnings.warn("Only using first three flowrates!")
Expand Down
2 changes: 1 addition & 1 deletion shapeout/meta_tool.py
Expand Up @@ -56,7 +56,7 @@ def collect_data_tree(directories):
dn = u"M{} {}".format(mx, chip_region)
if not chip_region.lower() in ["reservoir"]:
# outlet (flow rate is not important)
dn += u" {} µls⁻¹".format(get_flow_rate(ff))
dn += u" {:.5f} µls⁻¹".format(get_flow_rate(ff))
dn += " ({} events)".format(get_event_count(ff))

treelist[dirindex].append((dn, str(ff)))
Expand Down

0 comments on commit a7c1985

Please sign in to comment.