Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
noscode committed Nov 6, 2024
1 parent 958382c commit dac0a3e
Show file tree
Hide file tree
Showing 4 changed files with 271 additions and 271 deletions.
2 changes: 1 addition & 1 deletion docs/source/changelogs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Changelog since 2.0.0:
2. Create pyproject.toml and setup.cfg
3. Add dependencies including `moments-popgen`, `demes` and `demesdraw` to setup - they will be automatically installed.
4. Change code to work with last version of `moments`.
5. Drop support for Gpy and GPyOpt bayesian optimization - class will be removed in the next releases
5. Drop support for Gpy and GPyOpt bayesian optimization
6. Tests for SMAC bayesian optimization does not run on GitHub Actions - need to upgrade code for the last `smac` version (TODO).
7. Update params_file template
8. Update docs
Expand Down
20 changes: 10 additions & 10 deletions gadma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
except ImportError:
demesdraw = None

#try:
# import GPy
#except ImportError:
# GPy = None
#try:
# import GPyOpt
#except ImportError:
# GPyOpt = None
# try:
# import GPy
# except ImportError:
# GPy = None
# try:
# import GPyOpt
# except ImportError:
# GPyOpt = None
try:
import smac # NOQA
import ConfigSpace # NOQA
Expand All @@ -86,8 +86,8 @@
demes_available = demes is not None
demesdraw_available = demesdraw is not None

GPy_available = GPy is not None
GPyOpt_available = GPyOpt is not None
# GPy_available = GPy is not None
# GPyOpt_available = GPyOpt is not None
bayesmark_available = bayesmark is not None

from .data import DataHolder, SFSDataHolder, VCFDataHolder # NOQA
Expand Down
Loading

0 comments on commit dac0a3e

Please sign in to comment.