Skip to content

Commit

Permalink
Small add
Browse files Browse the repository at this point in the history
  • Loading branch information
mraveri committed Apr 14, 2021
1 parent 7f838ef commit 78a0a41
Show file tree
Hide file tree
Showing 2 changed files with 436 additions and 12 deletions.
3 changes: 2 additions & 1 deletion tensiometer/cosmosis_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def MCSamplesFromCosmosis(chain_root, chain_min_root=None,
# get the sampler:
sampler = get_sampler_type(info)
# get the name tag:
name_tag = get_name_tag(info)
if name_tag is None:
name_tag = get_name_tag(info)
# get the samples weights and likelihood:
chain = loadNumpyTxt(chain_file, skiprows=0)
# parse the chain depending on the sampler that produced it:
Expand Down
Loading

0 comments on commit 78a0a41

Please sign in to comment.