Skip to content

Commit

Permalink
Bug fix building of the autodocs (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed Apr 17, 2020
1 parent c1b4cf1 commit 1c5e488
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
7 changes: 1 addition & 6 deletions docs/conf.py
Expand Up @@ -17,7 +17,6 @@

sys.path.insert(0, os.path.abspath('../'))


# -- Project information -----------------------------------------------------

project = 'species'
Expand All @@ -30,10 +29,6 @@
if '__version__' in line:
version = line.split("'")[1]

# The full version, including alpha/beta/rc tags
release = version


# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -176,7 +171,7 @@
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'species', 'species Documentation',
author, 'species', 'Toolkit for spectral and photometric analysis of planetary and substellar atmospheres',
author, 'species', 'Toolkit for atmospheric characterization of exoplanets and brown dwarf',
'Miscellaneous'),
]

Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
@@ -1,3 +1,3 @@
nbsphinx
pandoc
jupyter
nbsphinx ~= 0.6
pandoc ~= 1.0
jupyter ~= 1.0
2 changes: 1 addition & 1 deletion docs/tutorials/synthetic_photometry.ipynb
Expand Up @@ -296,7 +296,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.6.10"
}
},
"nbformat": 4,
Expand Down
6 changes: 5 additions & 1 deletion species/analysis/fit_model.py
Expand Up @@ -9,9 +9,13 @@
from multiprocessing import Pool, cpu_count

import emcee
import pymultinest
import numpy as np

try:
import pymultinest
except:
warnings.warn('PyMultiNest could not be imported.')

from species.core import constants
from species.data import database
from species.read import read_model, read_object
Expand Down
2 changes: 2 additions & 0 deletions species/data/vlm_plx.py
Expand Up @@ -87,6 +87,8 @@ def add_vlm_plx(input_path,

database.create_dataset('photometry/vlm-plx/ra', data=phot_data['RA']) # (deg)
database.create_dataset('photometry/vlm-plx/dec', data=phot_data['DEC']) # (deg)
database.create_dataset('photometry/vlm-plx/parallax', data=parallax)
database.create_dataset('photometry/vlm-plx/parallax_error', data=parallax_error)
database.create_dataset('photometry/vlm-plx/distance', data=distance)
database.create_dataset('photometry/vlm-plx/distance_error', data=distance_error)
database.create_dataset('photometry/vlm-plx/MKO/NSFCam.Y', data=phot_data['YMAG'])
Expand Down

0 comments on commit 1c5e488

Please sign in to comment.