저는 자체 문서화 파이프 라인 개발에 관심이 있습니다.Puffa는 Ruffus와 함께 멋진 게임을 할 수 있습니까?
Ruffus 개의 작업을 Pweave 청크로 감쌀 수 있습니까?
Pweave and Ruffus
==============================================================
**Let's see if Pweave and ruffus can play nice**
<<load_imports>>=
import time
from ruffus import *
@
**Do this**
<<task1>>=
task1_param = [
[ None, 'job1.stage1'], # 1st job
[ None, 'job2.stage1'], # 2nd job
]
@files(task1_param)
def first_task(no_input_file, output_file):
open(output_file, "w")
@
나는 느낌 Ruffus 데코레이터는 Pweave을 던지고있다 얻을 :
$ Pweave ruffus.Pnw
Processing chunk 1 named load_imports
Processing chunk 2 named task1
<type 'exceptions.TypeError'>
("unsupported operand type(s) for +: 'NoneType' and 'str'",)
아마도 해결 방법이?
안녕하세요 제레미는 쉐이브 (Pweave)의 저자로서 레오가이 문제를 해결할 수있어서 기쁩니다. 귀하의 질문에 pweave 태그를 추가 했어도 괜찮 았으면 좋겠어요. –