Skip to content

Commit

Permalink
add pftel decorators and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Oct 30, 2023
1 parent 2c2e369 commit 11e3cd3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
chrisapp~=2.5.0
nose~=1.3.7
loguru
pflog==1.2.26
pftel-client~=1.0.6
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name = 'topologicalcopy',
version = '0.2.6',
version = '1.0.0',
description = 'A plugin ts app to copy filtered output dirs from a list of plugin instances',
long_description = readme,
author = 'FNNDSC',
Expand Down
6 changes: 5 additions & 1 deletion topologicalcopy/topologicalcopy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from chrisapp.base import ChrisApp
import time, sys, os
from loguru import logger
from pflog import pflog
LOG = logger.debug

logger_format = (
Expand Down Expand Up @@ -161,7 +162,10 @@ def define_parameters(self):
Use self.add_argument to specify a new app argument.
"""
pass

@pflog.tel_logTime(
event = 'topologicalcopy',
log = 'Copy filtered output dirs from a list of plugin instances'
)
def run(self, options):
"""
Define the code to be run by this plugin app.
Expand Down

0 comments on commit 11e3cd3

Please sign in to comment.