Skip to content

Commit

Permalink
Merge pull request #50 from pepkit/dev
Browse files Browse the repository at this point in the history
v0.9.1 bugfix release
  • Loading branch information
nsheff committed Jul 23, 2018
2 parents a7c25cf + 96598d7 commit ac4e8c1
Show file tree
Hide file tree
Showing 9 changed files with 963 additions and 393 deletions.
9 changes: 8 additions & 1 deletion doc/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
Changelog
******************************
- **v0.9.1** (*2018-06-30*):

- Fixed

- Fixed several bugs with ``looper summarize`` that caused failure on edge cases.


- **v0.9.0** (*2018-06-25*):

- New
Expand All @@ -8,7 +15,7 @@ Changelog

- Add ``allow-duplicate-names`` command-line options

- Allow any variables in environment config files or other ``compute`` sections to be used in submission templates
- Allow any variables in environment config files or other ``compute`` sections to be used in submission templates. This allows looper to be used with containers.

- Add nice universal project-level HTML reporting

Expand Down
12 changes: 6 additions & 6 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper [-h] [-V] [--logfile LOGFILE] [--verbosity {0,1,2,3,4}] [--dbg]
{run,summarize,destroy,check,clean} ...
Expand Down Expand Up @@ -53,7 +53,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper run [-h] [-t TIME_DELAY] [--ignore-flags]
[--allow-duplicate-names] [--compute COMPUTE] [--env ENV]
[--limit LIMIT] [--lump LUMP] [--lumpn LUMPN]
Expand Down Expand Up @@ -106,7 +106,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper summarize [-h] [--file-checks] [-d]
[--exclude-protocols [EXCLUDE_PROTOCOLS [EXCLUDE_PROTOCOLS ...]]
| --include-protocols
Expand Down Expand Up @@ -137,7 +137,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper destroy [-h] [--file-checks] [-d]
[--exclude-protocols [EXCLUDE_PROTOCOLS [EXCLUDE_PROTOCOLS ...]]
| --include-protocols
Expand Down Expand Up @@ -168,7 +168,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper check [-h] [-A] [-F [FLAGS [FLAGS ...]]] [--file-checks] [-d]
[--exclude-protocols [EXCLUDE_PROTOCOLS [EXCLUDE_PROTOCOLS ...]]
| --include-protocols
Expand Down Expand Up @@ -204,7 +204,7 @@ Here you can see the command-line usage instructions for the main looper command

.. code-block:: none
version: 0.9.0-dev
version: 0.9.1
usage: looper clean [-h] [--file-checks] [-d]
[--exclude-protocols [EXCLUDE_PROTOCOLS [EXCLUDE_PROTOCOLS ...]]
| --include-protocols
Expand Down
5 changes: 4 additions & 1 deletion looper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def setup_looper_logger(level, additional_locations=None, devmode=False):
fmt = DEV_LOGGING_FMT if devmode else DEFAULT_LOGGING_FMT

# Establish the logger.
LOOPER_LOGGER = logging.getLogger("looper")
LOOPER_LOGGER = logging.getLogger()
# First remove any previously-added handlers
LOOPER_LOGGER.handlers = []
LOOPER_LOGGER.propagate = False
Expand Down Expand Up @@ -94,7 +94,10 @@ def setup_looper_logger(level, additional_locations=None, devmode=False):

# Add the handlers.
formatter = logging.Formatter(fmt=(fmt or DEFAULT_LOGGING_FMT))

for loc in where:
if not loc:
continue
if isinstance(loc, str):
# File destination
dirpath = os.path.abspath(os.path.dirname(loc))
Expand Down
2 changes: 1 addition & 1 deletion looper/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.0"
__version__ = "0.9.1"
Loading

0 comments on commit ac4e8c1

Please sign in to comment.