aryeelab / guideseq

Analysis pipeline for the GUIDE-seq assay.
GNU Affero General Public License v3.0
75 stars 53 forks source link

TypeError: load() missing 1 required positional argument: 'Loader' #69

Open mhtran145 opened 1 year ago

mhtran145 commented 1 year ago

Hi, Could you please help me resolve this error? I have searched the web to troubleshoot it myself bu to no avail. Thank you very much in advance! (guideseq) mtran@MF18898 ~ % guideseq.py demultiplex -m /Users/mtran/Dropbox\ (Scripps\ Research)/GUIDE-seq/ITRseq_data/CSR20A-Ele64A/run_files/Ele20A_test1_manifest.yaml [07/16 05:46:35PM][INFO][guideseq] Loading manifest for demultiplexing... Traceback (most recent call last): File "/Users/mtran/opt/anaconda3/envs/guideseq/bin/guideseq.py", line 557, in main() File "/Users/mtran/opt/anaconda3/envs/guideseq/bin/guideseq.py", line 438, in main g.parseManifestDemultiplex(args.manifest) File "/Users/mtran/opt/anaconda3/envs/guideseq/bin/guideseq.py", line 97, in parseManifestDemultiplex manifest_data = yaml.load(f) TypeError: load() missing 1 required positional argument: 'Loader'

mhtran145 commented 1 year ago

Hi again, I'm using the guideseq version from Tsai Lab.

nechamaklt11 commented 1 year ago

Hello, encountered the same problem. Here is what worked for me: changed the yaml.load(f) in the main guideseq.py script to yaml.full_load(f).