Skip to content

Commit eaa86a4

Browse files
author
jngaravitoc
committed
typos in makemodel corrected
1 parent 6994e01 commit eaa86a4

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

EXPtools/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Allow direct access to these submodules/classes from the package
22
from .basis_builder.profiles import Profiles
3-
from .basis_builder.basis_utils import make_basis, make_config, write_table, make_model, make_Dfit
3+
from .basis_builder.basis_utils import make_basis, make_config, make_Dfit
4+
from .basis_builder.makemodel import make_model
45
from .ios.ios import exp_coefficients
56
from .utils.halo import ICHernquist
67
from .utils import write_basis, load_basis

EXPtools/basis_builder/makemodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def make_model(radius, density, Mtotal, output_filename='', physical_units=False
122122
potential * pfac
123123
)
124124

125-
return return {
125+
return {
126126
"radius": radius * rfac,
127127
"density": density * dfac,
128128
"mass": mass * mfac,

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ version = "0.2.1"
88
authors = [
99
{ name="Nico Garavito-Camargo", email="ngaravito@flatironinstitute.org" },
1010
{ name="Arpit Arora", email="arora125@sas.upenn.edu"},
11-
{ name="Marcos", email="marcoseduardo.castillo@userena.cl"},
12-
{ name="Silvio Varela", email="silvio.varela@userena.cl"}
1311
]
1412

1513
description = "Library to analyze and visualize basis function expansions using pyEXP"
@@ -31,7 +29,7 @@ dependencies = [
3129
"h5py>=3.9.0",
3230
"matplotlib>=3.8",
3331
"healpy",
34-
"k3d>=2.16.1"
32+
"k3d>=2.16.1" # Make this ones optional
3533
]
3634

3735

0 commit comments

Comments
 (0)