Closed nippoo closed 8 years ago
the use_noise_cluster=use_noise_cluster, use_mua_cluster=use_mua_cluster,
line should be removed maybe?
Yes! They're now part of **params.
On 31 July 2015 21:39:01 BST, Cyrille Rossant notifications@github.com wrote:
the
use_noise_cluster=use_noise_cluster, use_mua_cluster=use_mua_cluster,
should be removed maybe?
Reply to this email directly or view it on GitHub: https://github.com/kwikteam/klustakwik2/issues/68#issuecomment-126807212
Oh wait this is in my code. Oops! Wonder how the tests missed that. Will fix and release again tomorrow.
On 31 July 2015 21:30:43 BST, nippoo notifications@github.com wrote:
All phy tests are currently failing and 0.2.3 doesn't work with phy; returns the following error on tests:
self = <klustakwik2.clustering.KK object at 0x2b20542e1208> name = 'split_evaluation', use_noise_cluster = True, use_mua_cluster = True additional_params = {'map_log_to_debug': True}, sep = '' params = {'always_split_bimodal': False, 'break_fraction': 0.0, 'consider_cluster_deletion': True, 'dist_thresh': 9.2103403719761836, ...} def copy(self, name='kk_copy', use_noise_cluster=None, use_mua_cluster=None, **additional_params): if self.name: sep = '.' else: sep = '' if use_noise_cluster is None: use_noise_cluster = self.use_noise_cluster if use_mua_cluster is None: use_mua_cluster = self.use_mua_cluster params = self.params.copy() params.update(**additional_params) return KK(self.data, name=self.name+sep+name, callbacks=self.callbacks, use_noise_cluster=use_noise_cluster, use_mua_cluster=use_mua_cluster, is_copy=True, > **params) E TypeError: type object got multiple values for keyword argument 'use_mua_cluster'
Reply to this email directly or view it on GitHub: https://github.com/kwikteam/klustakwik2/issues/68
OK so I messed that up pretty bad. All fixed now and new release 0.2.4.
Also added a new test that will catch any future regressions.
phy tests are currently failing; returns the following error on tests: