Skip to content

Commit eec100b

Browse files
authored
Update version to 1.4.0
2 parents a7ef40b + 4cf205b commit eec100b

File tree

80 files changed

+10165
-5640
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+10165
-5640
lines changed

.gitignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,18 @@ dmypy.json
137137

138138
# todo
139139
todo.md
140-
config/database_credentials.cfg
141-
config/example*.cfg
140+
141+
# Configs
142+
config/database_credentials.yml
143+
config/example_conditional_grid.yml
144+
config/example_general_usage.yml
145+
config/example_logtables.yml
146+
config/example_pause_and_continue.yml
142147
output/
143148

144149
# codecarbon
145150
.codecarbon.config
146151
emissions.csv
152+
153+
# development folder
154+
development/

.vscode/settings.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"autoDocstring.docstringFormat": "sphinx",
33
"editor.codeActionsOnSave": {
4-
"source.organizeImports": true,
5-
"formatting": true
4+
"source.organizeImports": "explicit",
5+
"formatting": "explicit"
66
},
77
"editor.formatOnSave": true,
88
"python.formatting.autopep8Args": [
@@ -58,5 +58,11 @@
5858
"**/.git/subtree-cache/**": true,
5959
"**/node_modules/*/**": true
6060
},
61-
"esbonio.sphinx.confDir": "${workspaceFolder}\\docs"
61+
"esbonio.sphinx.confDir": "${workspaceFolder}\\docs",
62+
"grammarly.selectors": [
63+
{
64+
"language": "restructuredtext",
65+
"scheme": "file"
66+
}
67+
]
6268
}

CHANGELOG.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
Changelog
33
=========
44

5+
v1.4.0 (20.02.2024)
6+
===================
7+
8+
Feature
9+
-------
10+
- Add functionality to pause and later continue experiments.
11+
- Change the supported database configuration file type to YAML.
12+
- Change the supported credentials file type to YAML.
13+
- Add support for ssh jump hosts in the database connection.
14+
15+
Fix
16+
---
17+
- Fix a problem when executing fill_table that caused some entries to occur twice.
18+
- Temporary CodeCarbon files are automatically removed at termination.
19+
520

621
v1.3.2 (23.01.2024)
722
===================
@@ -10,6 +25,7 @@ Feature
1025
-------
1126

1227
- Add `random_order` parameter to `PyExperimenter.execute()` to allow for random order of experiments.
28+
- Add pause functionality to `PyExperimenter` to allow for pausing the execution of experiments, which can be continued later on.
1329

1430
Fix
1531
---

config/database_credentials.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[CREDENTIALS]
2+
host=apollo.ai.uni-hannover.de
3+
user=testuser_pyexperimenter
4+
password=c2ncKK3siSBkCuGE

config/example_database_credentials.cfg

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
CREDENTIALS:
2+
Database:
3+
user: example_user
4+
password: example_password
5+
Connection:
6+
Standard:
7+
server: example.mysqlserver.com
8+
Ssh:
9+
server: example.sshmysqlserver.com (address from ssh server)
10+
address: example.sslserver.com
11+
port: optional_ssh_port
12+
remote_address: optional_mysql_server_address
13+
remote_port: optional_mysql_server_port
14+
local_address: optional_local_address
15+
local_port: optional_local_port
16+
passphrase: optional_ssh_passphrase

docs/source/conf.py

Lines changed: 20 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -17,67 +17,55 @@
1717
from recommonmark.parser import CommonMarkParser
1818

1919
# -- Project information -----------------------------------------------------
20-
project = 'PyExperimenter'
21-
copyright = '2022, Tanja Tornede, Alexander Tornede, Lukas Fehring, Lukas Gehring, Helena Graf, Jonas Hanselle, Felix Mohr, Marcel Wever'
22-
author = 'Tanja Tornede, Alexander Tornede, Lukas Fehring, Lukas Gehring, Helena Graf, Jonas Hanselle, Felix Mohr, Marcel Wever'
20+
project = "PyExperimenter"
21+
copyright = "2022, Tanja Tornede, Alexander Tornede, Lukas Fehring, Lukas Gehring, Helena Graf, Jonas Hanselle, Felix Mohr, Marcel Wever"
22+
author = "Tanja Tornede, Alexander Tornede, Lukas Fehring, Lukas Gehring, Helena Graf, Jonas Hanselle, Felix Mohr, Marcel Wever"
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.0'
25+
release = "1.0"
2626

2727

2828
# -- General configuration ---------------------------------------------------
2929

3030
# Add any Sphinx extension module names here, as strings. They can be
3131
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3232
# ones.
33-
extensions = [
34-
'sphinx.ext.autodoc',
35-
'autoapi.extension',
36-
'recommonmark',
37-
'nbsphinx',
38-
'sphinx_gallery.load_style'
39-
]
33+
extensions = ["sphinx.ext.autodoc", "autoapi.extension", "recommonmark", "nbsphinx", "sphinx_gallery.load_style"]
4034

4135
# Add any paths that contain templates here, relative to this directory.
42-
templates_path = ['_templates']
36+
templates_path = ["_templates"]
4337

4438
# List of patterns, relative to source directory, that match files and
4539
# directories to ignore when looking for source files.
4640
# This pattern also affects html_static_path and html_extra_path.
47-
exclude_patterns = [
48-
'_build',
49-
'Thumbs.db',
50-
'.DS_Store'
51-
]
41+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
5242

53-
source_suffix = ['.rst', '.md']
43+
source_suffix = [".rst", ".md"]
5444

5545
# -- Options for HTML output -------------------------------------------------
5646

5747
# The theme to use for HTML and HTML Help pages. See the documentation for
5848
# a list of builtin themes.
5949
#
60-
html_theme = 'sphinx_rtd_theme'
50+
html_theme = "sphinx_rtd_theme"
6151

6252
html_theme_options = {
63-
'logo_only': False,
64-
'display_version': True,
65-
'prev_next_buttons_location': 'bottom',
66-
'style_external_links': True,
53+
"logo_only": False,
54+
"display_version": True,
55+
"prev_next_buttons_location": "bottom",
56+
"style_external_links": True,
6757
# Toc options
68-
'collapse_navigation': True,
69-
'sticky_navigation': True,
70-
'navigation_depth': 4,
71-
'includehidden': True,
72-
'titles_only': False
58+
"collapse_navigation": True,
59+
"sticky_navigation": True,
60+
"navigation_depth": 4,
61+
"includehidden": True,
62+
"titles_only": False,
7363
}
7464

7565
# Add any paths that contain custom static files (such as style sheets) here,
7666
# relative to this directory. They are copied after the builtin static files,
7767
# so a file named "default.css" will overwrite the builtin "default.css".
78-
html_static_path = [
79-
'_static'
80-
]
68+
html_static_path = ["_static"]
8169

8270
# -- Options for API ---------------------------------------------------------
83-
autoapi_dirs = ['../../py_experimenter']
71+
autoapi_dirs = ["../../py_experimenter"]

0 commit comments

Comments
 (0)