Skip to content

Commit

Permalink
Removed filters parameter from get_object
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas Stolker committed May 12, 2020
1 parent 3f7eb5b commit 0e00876
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion species/analysis/fit_model.py
Expand Up @@ -514,7 +514,7 @@ def __init__(self,
if isinstance(inc_phot, bool):
# Select all filters if True
species_db = database.Database()
objectbox = species_db.get_object(object_name, None)
objectbox = species_db.get_object(object_name)
inc_phot = objectbox.filters

self.objphot = []
Expand Down
1 change: 0 additions & 1 deletion species/analysis/fit_spectrum.py
Expand Up @@ -109,7 +109,6 @@ def __init__(self,
species_db = database.Database()

objectbox = species_db.get_object(object_name,
filters=None,
inc_phot=True,
inc_spec=False)

Expand Down

0 comments on commit 0e00876

Please sign in to comment.