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

Commit

Permalink
enh: write Shape-Out version to exported .fcs and .tsv files (close #250
Browse files Browse the repository at this point in the history
)
  • Loading branch information
paulmueller committed Sep 4, 2019
1 parent fdffa8d commit f6765fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.9.6
- enh: improved support for tdms data (dclab 0.12.0 -> 0.14.6) (e.g. #249)
- enh: improved support for tdms data (dclab 0.12.0 -> 0.14.7) (e.g. #249)
- enh: write Shape-Out version to exported .fcs and .tsv files (#250)
- fix: remove nan/inf values before performing (g)lmm analysis (#248)
- docs: request citation of Herbig2018 when performing (g)lmm analysis
0.9.5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
install_requires=["appdirs",
"dclab[all]>=0.14.6",
"fcswrite>=0.4.1",
"fcswrite>=0.5.0",
"h5py>=2.8.0",
"imageio>=2.3.0,<2.5.0",
"nptdms",
Expand Down
4 changes: 4 additions & 0 deletions shapeout/gui/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import wx
from wx.lib.scrolledpanel import ScrolledPanel

from .._version import version


class ExportAnalysisEvents(wx.Frame):
def __init__(self, parent, analysis, ext="ext", non_scalars=[]):
Expand Down Expand Up @@ -179,6 +181,7 @@ def export(self, out_dir, features, filtered):
m.export.fcs(os.path.join(out_dir, m.title+".fcs"),
mfeat,
filtered=filtered,
meta_data={"Shape-Out version": version},
override=True)


Expand Down Expand Up @@ -213,6 +216,7 @@ def export(self, out_dir, features, filtered):
m.export.tsv(os.path.join(out_dir, m.title+".tsv"),
mfeat,
filtered=filtered,
meta_data={"Shape-Out version": version},
override=True)


Expand Down

0 comments on commit f6765fb

Please sign in to comment.