diff --git a/openquake/mbt/tools/mfd_sample/make_mfds.py b/openquake/mbt/tools/mfd_sample/make_mfds.py index cabca33d5..1c0427910 100644 --- a/openquake/mbt/tools/mfd_sample/make_mfds.py +++ b/openquake/mbt/tools/mfd_sample/make_mfds.py @@ -119,7 +119,7 @@ def _create_catalogue_versions(catfi, outdir, numcats=None, stype='random', -def _decl_all_cats(outdir, cat, dcl_toml_tmp, decdir): +def _decl_all_cats(outdir, dcl_toml_tmp, decdir): """ """ @@ -241,7 +241,7 @@ def make_many_mfds(configfile, basedir=None): decluster = config['decluster'].get('decluster_catalogues', True) if decluster: dcl_toml_tmpl = config['decluster']['decluster_settings'] - _decl_all_cats(catdir, catfi, dcl_toml_tmpl, decdir) + _decl_all_cats(catdir, dcl_toml_tmpl, decdir) # generate the completeness tables diff --git a/openquake/mbt/tools/model_building/dclustering.py b/openquake/mbt/tools/model_building/dclustering.py index 31ce24b0a..e530c2cd4 100755 --- a/openquake/mbt/tools/model_building/dclustering.py +++ b/openquake/mbt/tools/model_building/dclustering.py @@ -78,8 +78,6 @@ def decluster(catalogue_hmtk_fname, declustering_meth, declustering_params, It can be a string or a list of strings :param str tr_fname: An .hdf5 file containing the TR classification of the catalogue - :param array mag_perm: - An array the length of the cat that will replaces the magnitudes :param bool subcatalogues: When true creates subcatalogues per tectonic region :param str fmat: