Closed beginnertobioinformatics closed 1 year ago
Hello, I tried running PEPATAC in a conda environment and got the same error initially, but when I downgraded looper to 1.3.1, it successfully passed the dry run but now this error appears--
Using default schema: /home/usr/pepatac/pipelines/pipestat_output_schema.yaml
Traceback (most recent call last):
File "/home/usr/pepatac/pipelines/pepatac.py", line 2779, in <module>
sys.exit(main())
File "/home/usr/pepatac/pipelines/pepatac.py", line 683, in main
report_message(pm, assets_file, message)
File "/home/usr/pepatac/pipelines/pepatac.py", line 202, in report_message
pm._safe_write_to_file(report_file, message)
AttributeError: 'PipelineManager' object has no attribute '_safe_write_to_file'
### Pipeline failed at: (07-12 23:24:55) elapsed: 0.0 _TIME_
Total time: 0:00:01
Failure reason: Pipeline failure. See details above.
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/home/usr/miniconda3/envs/pepatac/lib/python3.9/site-packages/pypiper/manager.py", line 2156, in _exit_handler
self.fail_pipeline(Exception("Pipeline failure. See details above."))
File "/home/usr/miniconda3/envs/pepatac/lib/python3.9/site-packages/pypiper/manager.py", line 2001, in fail_pipeline
raise exc
Exception: Pipeline failure. See details above.
I'm thinking this is due to a package version I have that perhaps needs to be downgraded (assuming pypiper?), but I'm not sure what/what version?
It turned out I had to downgrade piper to 0.12.3, the minimum version listed on the requirements text file. I still run into errors further downstream, but since I now don't think they're relevant to this original posting, I'll close this issue.
This is related to Pypiper (piper). Version v0.13.0 deprecated using _safe_write_to_file
in favor of pipestat.report
it would be nice if pypiper v0.13.0 would retain backwards compatibility, so that existing pipelines still work, while preferring the change to pipestat.report
. What do you think about doing a bugfix release, pypiper 0.13.1
, to restore backwards compatibility?
Hello,
I was going through the extended tutorial for PEPATAC to test out the pipeline with the tutorial data. However, when I get to the last step and try running
looper run examples/tutorial/tutorial_refgenie.yaml
I receive the following error:I first thought the error might have to do with the version of looper I had (1.4.0), but when I tried downgrading it, it didn't fix the issue. Also, for the other FileNotFound error for $REFGENIE, I did run the export command (
export REFGENIE=/home/usr/PEPATACTut_venv/pepatac_tutorial/tools/refgenie_config.yaml
) and confirmed that it had successfully run withecho $REFGENIE
, but I still get this error. Are these errors related? Or tied to the fact that I'm running these commands in a virtual environment?I'm very new to running command-line tools, python, etc., so any help or insight from the community is massively appreciated! Thank you!