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

Commit

Permalink
setup: bump dclab to 0.22.5
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Mar 23, 2020
1 parent ef69234 commit e15e014
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ docs/shapeout.bib.sav

*.bib.bak
*.xcf

.env
.envdocs
4 changes: 3 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
1.0.4
- setup: bump dclab from 0.21.1 to 0.23.4 (improve contour retrieval
- fix: minor issue with converting pos_y feature in sessions from
before 0.7.6
- setup: bump dclab from 0.21.1 to 0.22.5 (improve contour retrieval
for mask images with artefacts, disable computation of Young's
modulus for reservoir measurements)
1.0.3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
],
},
install_requires=["appdirs",
"dclab[all]>=0.22.4",
"dclab[all]>=0.22.5",
"fcswrite>=0.5.0",
"h5py>=2.8.0",
"imageio>=2.3.0,<2.5.0",
Expand Down
10 changes: 5 additions & 5 deletions shapeout/gui/controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def OnChangeFilter(self, e=None, updp=True, draw=True):
wx.BeginBusyCursor()
ctrls = self.page_filter.GetChildren()
samdict = self.analysis.measurements[0].config.copy()["filtering"]
newfilt = rt_config.CaseInsensitiveDict()
newfilt = rt_config.ConfigurationDict(section="filtering")

# identify controls via their name correspondence in the cfg
for c in ctrls:
Expand Down Expand Up @@ -178,7 +178,7 @@ def OnChangePlot(self, e=None, updp=True):
ctrls += list(self.page_cont.GetChildren())
ctrls += list(self.page_scat.GetChildren())
samdict = self.analysis.measurements[0].config.copy()["plotting"]
newfilt = rt_config.CaseInsensitiveDict()
newplot = rt_config.ConfigurationDict(section="plotting")

# identify controls via their name correspondence in the cfg
for c in ctrls:
Expand All @@ -197,7 +197,7 @@ def OnChangePlot(self, e=None, updp=True):
val = c.GetValue()

var, val = rt_config.keyval_str2typ(var, val)
newfilt[var] = val
newplot[var] = val
elif name.startswith("title "):
# Change title of measurement
for mm in self.analysis.measurements:
Expand All @@ -211,8 +211,8 @@ def OnChangePlot(self, e=None, updp=True):
col = np.array([col.Red(), col.Green(),
col.Blue(), col.Alpha()])/255
mm.config["plotting"]["contour color"] = col.tolist()
cfg = {"plotting": newfilt }

cfg = {"plotting": newplot}

self.analysis.SetParameters(cfg)

Expand Down
1 change: 1 addition & 0 deletions shapeout/session/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
["fl-3npeaks", "fl3_npeaks"],
["fl-3pos", "fl3_pos"],
["pos x", "pos_x"],
["pos y", "pos_y"],
["pos lat", "pos_y"],
["x-size", "size_x"],
["y-size", "size_y"],
Expand Down
2 changes: 2 additions & 0 deletions tests/test_session_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ def compatibility_task(name):
return analysis


@pytest.mark.filterwarnings(
'ignore::dclab.rtdc_dataset.config.UnknownConfigurationKeyWarning')
def test_060():
analysis = compatibility_task("session_v0.6.0.zmso")
mm = analysis.measurements[0]
Expand Down

0 comments on commit e15e014

Please sign in to comment.