astropy / astropy/halotools

List alternative versions of halo catalogs when there is no match

Open
#742 0 comments 0 reactions 1 assignee Claimed by @aphearin View on GitHub
feature request sim-manager
Dominant language
Python
Stars
120
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Suppose the user knows that there is a `bolshoi` catalog at z ~ 0.35 stored in cache, but cannot remember the `version_name`:

```
>>> halocat = CachedHaloCatalog(simname='bolshoi', redshift=0.35)
```

In the current code, if there is no match, there will be an error message printing out the list of available catalogs with `default_version_name`, but none with the alternate version name, even if the redshift is an exact match to the alternate version name.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.