Skip to content

Commit

Permalink
Merge branch 'master' into multiplanet
Browse files Browse the repository at this point in the history
  • Loading branch information
semaphoreP committed Apr 12, 2020
2 parents 979b23f + 1f45025 commit 060e914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,5 @@ build.sh
*.fits
*.png
!docs/orbitize_logo_500.png
.vscode/settings.json
tests/test_results.h5
2 changes: 1 addition & 1 deletion orbitize/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def load_results(self, filename, append=False):
# probably a old results file when reference epoch was fixed at MJD = 0
tau_ref_epoch = 0
try:
labels = np.array(hf.attrs['parameter_labels'])
labels = hf.attrs['parameter_labels']
except KeyError:
# again, probably an old file without saved parameter labels
# old files only fit single planets
Expand Down

0 comments on commit 060e914

Please sign in to comment.