applied-bioinformatics / iab2

An Introduction to Applied Bioinformatics, 2nd Edition
122 stars 15 forks source link

no iab module available #4

Closed theokirkland closed 1 year ago

theokirkland commented 1 year ago

I'm trying to run the Jupyter notebooks from your book on an M1 mac, OS Ventura with Python 3.9.2. Scikit bio loads, but all cells referring to the iab module fail and I cannot find an iab module. What am I doing wrong?

fomightez commented 1 year ago

Cross posted here.

@theokirkland , Please link when you cross-post so you don't waste multiple people's time answering.
Importantly, it also helps those having the same issue find the answer later. A 'future you' may be such a person at a later time.

ebolyen commented 1 year ago

Thank you @fomightez's your comments on the SO post are correct, there is no iab module in this latest edition of the book. I expect @theokirkland was using the original repository and posted this to the wrong issue tracker.

The source from the first edition is available here and the runnable version is here.

The last link includes an environment file which can be installed with conda.

fomightez commented 1 year ago

Oh got it. I posted over at SO that think just running the following in the notebook may fix @theokirkland 's issue with Edition 1 stuff then:

%pip install https://github.com/caporaso-lab/An-Introduction-To-Applied-Bioinformatics/archive/master.zip

@ebolyen Let me know though if you want advice on how to make the rocket button work again from the Edition 2 JupyterBook. (Basically, you should make a directory named binder and put a much simpler environment.yml in there with the mininum stuff needed, ie., the 'extra' packages a vanilla MyBinder session doesn't have & nothing overlapping with things that MyBInder handles already. I'd start with them unpinned and then see if you can pin them and keep the building of the image working and all the code running.)

theokirkland commented 1 year ago

Thanks

Theo

On Dec 15, 2022, at 12:40 PM, fomightez @.***> wrote:

Oh got it. I posted over at SO that think just running the following in the notebook may fix @theokirkland https://urldefense.com/v3/__https://github.com/theokirkland__;!!Mih3wA!HfyClyE3a8h7K34Nao-8uToPVkT2NNFZsLWkUaniXt9zUtJPr3_6s7bLxyE0z9PmNQMf4h9Rd85K0ATqVicfmV4Pzw$ 's issue then:

%pip install https://github.com/caporaso-lab/An-Introduction-To-Applied-Bioinformatics/archive/master.zi https://urldefense.com/v3/__https://github.com/caporaso-lab/An-Introduction-To-Applied-Bioinformatics/archive/master.zi__;!!Mih3wA!HfyClyE3a8h7K34Nao-8uToPVkT2NNFZsLWkUaniXt9zUtJPr3_6s7bLxyE0z9PmNQMf4h9Rd85K0ATqVicvA7fEHA$ Let me know though if you want advice on how to make the rocket button work again from the Edition 2 JupyterBook. (Basically, you should make a directory named binder and put a much simpler environment.yml in there with the mininum stuff needed, ie., the 'extra' packages as vanilla session doesn't have & nothing overlapping with things that MyBInder handles already. I'd start with them unpinned and then see if you can pin them.)

— Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/applied-bioinformatics/iab2/issues/4*issuecomment-1353681390__;Iw!!Mih3wA!HfyClyE3a8h7K34Nao-8uToPVkT2NNFZsLWkUaniXt9zUtJPr3_6s7bLxyE0z9PmNQMf4h9Rd85K0ATqVie2wATfFA$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AGHKSXSRCBPXMUKUSSWPP63WNN64FANCNFSM6AAAAAATAAITQY__;!!Mih3wA!HfyClyE3a8h7K34Nao-8uToPVkT2NNFZsLWkUaniXt9zUtJPr3_6s7bLxyE0z9PmNQMf4h9Rd85K0ATqVidVPyr8rA$. You are receiving this because you were mentioned.