Closed imaa9 closed 1 year ago
Ok, this is fixed. There was a change in how h5py was handling attribute strings recently. I had to test for this and handle it. Pushing a new version to the bioconda repo, should be up in ~24hrs (4/5/2023).
Commit: 525eadd1
Thanks a million Isaac!!
Inbar Maayan PhD Candidate | she/her Department of Organismic and Evolutionary Biology Harvard University @.*** www.inbarmaayan.com
On Mon, Apr 3, 2023 at 4:15 PM Isaac Overcast @.***> wrote:
Closed #503 https://github.com/dereneaton/ipyrad/issues/503 as completed.
— Reply to this email directly, view it on GitHub https://github.com/dereneaton/ipyrad/issues/503#event-8917040165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZCEZ25GAQO6T6XARJ4QBDW7MVXZANCNFSM6AAAAAAWRQEMYE . You are receiving this because you authored the thread.Message ID: @.***>
Hi Isaac,
I'm writing to submit similar issues for treeslider and for BPP through ipyrad.
treeslider:
running in python within my ipyrad conda env on the cluster terminal, with a seqs.hdf5 I generated from a run of ipyrad (data for 7 species +outgroup sample), I've shortened the input file names here for brevity but in the run script I have full paths:
(ipyrad) [imaayan@holylogin04 all_L80_outfiles]$ python Python 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
Do you have a suggestion for fixing this (please let me know if any additional documentation would be helpful).
BPP:
Encountered a similar issue with BPP, here are my inputs (with file names and other long things abbreviated again): source activate ipyrad
Encountered an Error. Message: 'str' object has no attribute 'decode' Parallel connection closed. Traceback (most recent call last): File "/n/home00/imaayan/.conda/envs/ipyrad/lib/python3.10/site-packages/ipyrad/core/Parallel.py", line 314, in wrap_run self.tool._run(ipyclient=self.ipyclient, **self.rkwargs) File "/n/home00/imaayan/.conda/envs/ipyrad/lib/python3.10/site-packages/ipyrad/analysis/bpp.py", line 433, in _run self.lex = LocusExtracter( File "/n/home00/imaayan/.conda/envs/ipyrad/lib/python3.10/site-packages/ipyrad/analysis/locus_extracter.py", line 157, in init self._parse_scaffolds_meta() File "/n/home00/imaayan/.conda/envs/ipyrad/lib/python3.10/site-packages/ipyrad/analysis/locus_extracter.py", line 487, in _parse_scaffolds_meta self.pnames = np.array([ File "/n/home00/imaayan/.conda/envs/ipyrad/lib/python3.10/site-packages/ipyrad/analysis/locus_extracter.py", line 488, in
i.decode() for i in io5["phymap"].attrs["phynames"]
AttributeError: 'str' object has no attribute 'decode'
Happy to provide any additional documentation as needed.