Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
mali-git committed Nov 21, 2018
1 parent d99b09a commit ddb98c2
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.4-dev
current_version = 0.0.4
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?:-(?P<release>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+(?P<build>[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?
Expand Down
15 changes: 0 additions & 15 deletions data/configuration.json

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
author = 'Mehdi Ali, Charles Tapley Hoyt, and Daniel Domingo-Fernández'

# The full version, including alpha/beta/rc tags.
release = '0.0.4-dev'
release = '0.0.4'

# The short X.Y version.
parsed_version = re.match(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Configuring setup()
[metadata]
name = biokeen
version = 0.0.4-dev
version = 0.0.4
url = https://github.com/SmartDataAnalytics/BioKEEN
author = Mehdi Ali
author_email = mehdi.ali@cs.uni-bonn.de
Expand Down
14 changes: 6 additions & 8 deletions src/biokeen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@
from collections import OrderedDict

import click

import pykeen
from bio2bel.constants import get_global_connection
from biokeen.build import ensure_compath, ensure_drugbank, ensure_hippie, iterate_source_paths
from biokeen.cli_utils.bio_2_bel_utils import install_bio2bel_module
from biokeen.cli_utils.cli_print_msg_helper import print_intro, print_welcome_message
from biokeen.cli_utils.cli_query_helper import select_database
from pykeen.cli import (
prompt_device, prompt_embedding_model, prompt_evaluation_parameters, prompt_execution_parameters,
prompt_output_directory, prompt_random_seed, prompt_training_file,
)
from pykeen.constants import EXECUTION_MODE, HPO_MODE, TRAINING_MODE, TRAINING_SET_PATH
from pykeen.predict import start_predictions_piepline
from pykeen.utilities.cli_utils.cli_print_msg_helper import (
print_execution_mode_message, print_section_divider, print_training_set_message,
)
print_execution_mode_message, print_section_divider, )

from biokeen.build import ensure_compath, ensure_drugbank, ensure_hippie, iterate_source_paths
from biokeen.cli_utils.bio_2_bel_utils import install_bio2bel_module
from biokeen.cli_utils.cli_print_msg_helper import print_intro, print_welcome_message
from biokeen.cli_utils.cli_query_helper import select_database

connection_option = click.option(
'-c',
Expand Down Expand Up @@ -52,7 +51,6 @@ def prompt_config(connection, rebuild):
database_name = select_database()
config[TRAINING_SET_PATH] = install_bio2bel_module(name=database_name, connection=connection, rebuild=rebuild)
else:
print_training_set_message()
prompt_training_file(config)

print_section_divider()
Expand Down
2 changes: 1 addition & 1 deletion src/biokeen/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DATA_DIR = os.environ.get(DATA_DIR_ENVVAR) or os.path.abspath(os.path.join(HERE, os.pardir, os.pardir, 'data'))
os.makedirs(DATA_DIR, exist_ok=True)

VERSION = '0.0.4-dev'
VERSION = '0.0.4'

CONFIG_PATH = os.path.join(DATA_DIR, "configuration.json")
EMOJI = '🍩'
Expand Down

0 comments on commit ddb98c2

Please sign in to comment.