Skip to content

Commit

Permalink
cleaning up useless stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendra Johnson authored and Kendra Johnson committed Apr 4, 2024
1 parent e3a7a54 commit 88c330e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openquake/mbt/tools/mfd_sample/make_mfds.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

"""
"""
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions openquake/mbt/tools/model_building/dclustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 88c330e

Please sign in to comment.