Skip to content

Commit

Permalink
New version 1.0.7 (#10)
Browse files Browse the repository at this point in the history
* chore: fix files names in Makefile

* docs: change name of Glossary section to Main PEAK concepts

* chore: change makefile argument

* chore: formatted code with black and isort

* fix: DF gourp hierarchy behavior when removing nodes

* fix: cli not recognizing clones argument

* chore: fix graphs in dashboard in data_extraction example

* chore: bump version 1.0.2 -> 1.0.3

* chore: change random data to more realistic data in data_extration example

* fix: 500 http error when requesting the group data through api

* chore: add command to makefile

* refact: change behaviour execution method name

* chore: format with black and isort

* fix: group tagging

* chore: fix group tagging example

* chore: change file paths format from windows to linux

* chore: added env var to makefile

* refact: changed logger level from error to exception in bootloader

* fix: missing time atribute in message's metadata sent by Synchronizer

* fix: typo in logger and wrong graph name sent to DF

* fix: wait_for method in behaviors not allowing to add template

* docs: clarified some text and added recent academic publications

* chore: balck and isort

* chore: bump version 1.0.3 -> 1.0.4

* refact: simplified graph creation

* fix: drivers import

* fix: modbusdriver update

* refact: add CreateGraph behaviour to the agents

* refact: remove unnucessary behaviours

* docs: add and correct website pages

* docs: correct docstrings

* docs: correct peak module docstring

* refact: change agents structure

* refact: simplefied the PEAK's agent  and behaviour structure

* refact: deleted unecessary module

* refect: remove properties model

* refact: remove properties from the agent creation process

* refact: correct agent structure from SyncAgent and Synchronizer

Corrected docs as well.

* fix: inexisting imports from init

* docs: fix example import

* docs: change 'single agent' example folder name

* fix: agent print statements writing in terminal

The stdout of each agent is redirected to the agent log file.
The main process of PEAK logs usefull information in the terminal.

* chores: isort and black

* docs: corrected examples and added images

* docs: corrected the code of the examples

* docs:  correct example 4 and 5

* refact: the core agents and behaviours, and the cli commands

* refact: bootloader waits for agents asynchronously

* chore: format code with isort, autoflake and black

* chore: update pyproject.toml

* chore: update makefile

* chore: remove import headers from isort

* chore: format code using isort, black autoflake

* chore: bump version 1.0.4 -> 1.0.5

* chore: update makefile

* chore: format code

* fix: DF agent rest api ip address

* chore: bump version 1.0.5 -> 1.0.6

* feat: add docker for xmpp server and peak

* fix: pyproject.toml merge confilct

* fix: sys path missing terminal current directory

* chore: bump version 1.0.6 -> 1.0.7
  • Loading branch information
brunus-reberes authored May 8, 2023
1 parent 515f59d commit e405d31
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "peak-mas"
version = "1.0.6"
version = "1.0.7"
description = "Python-based framework for heterogeneous agent communities"
readme = "README.md"
authors = [{ name = "Bruno Ribeiro", email = "[email protected]" }]
Expand Down Expand Up @@ -42,11 +42,7 @@ Github = "https://github.com/gecad-group/peak-mas"
peak = "peak.__main__:main"

[tool.bumpver]
<<<<<<< HEAD
current_version = "1.0.6"
=======
current_version = "1.0.5"
>>>>>>> c44c1575441dd99761c340421d4a575601813158
current_version = "1.0.7"
version_pattern = "MAJOR.MINOR.PATCH"
commit_message = "chore: bump version {old_version} -> {new_version}"
commit = true
Expand Down
2 changes: 1 addition & 1 deletion src/peak/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

__author__ = "Bruno Ribeiro"
__email__ = "[email protected]"
__version__ = "1.0.6"
__version__ = "1.0.7"
4 changes: 3 additions & 1 deletion src/peak/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import logging
import os
import sys
from argparse import ArgumentParser
from pathlib import Path
Expand All @@ -8,6 +9,7 @@
from peak import __version__ as version
from peak.cli import df, mas

sys.path.append(os.getcwd())
_logger = logging.getLogger(peak_name)


Expand All @@ -19,7 +21,7 @@ def main(args=None):
)
_logger.addHandler(handler)
try:
_main()
_main(args)
except Exception as e:
_logger.critical(e, exc_info=1)
except KeyboardInterrupt:
Expand Down

0 comments on commit e405d31

Please sign in to comment.