Skip to content

Commit

Permalink
added pftel decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip Samal committed Oct 30, 2023
1 parent af8a2e8 commit bedef70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
chrisapp~=2.3.0
nose~=1.3.7
pflog==1.2.26
pftel-client~=1.0.6
6 changes: 5 additions & 1 deletion simpledsapp/simpledsapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import shutil
import time
import json
from pflog import pflog

from chrisapp.base import ChrisApp

Expand Down Expand Up @@ -179,7 +180,10 @@ def define_parameters(self):
optional = True,
help = 'dummy float parameter',
default = 1.1)

@pflog.tel_logTime(
event = 'simpledsapp',
log = 'A simple ChRIS ds app demo'
)
def run(self, options):
"""
Define the code to be run by this plugin app.
Expand Down

0 comments on commit bedef70

Please sign in to comment.