-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no attribute error #7
Comments
Thanks for reaching out! I took a quick look, and the |
It's my all code
|
What is the output if you enter |
Thank you for your rapid reply.
pip list = cptac 0.8.0 |
this error depends on OS specifically WINDOWS. But I got another error.
|
Alright, I think I figured out what's causing the "no attribute" error. I noticed in your stacktrace that the file you're coding in is called I tried this on my own computer, by creating a file called The second error sometimes arises if your WiFi signal is weak. If a download fails multiple times due to a spotty connection, it will just cancel it. Do you think you could try finding a place with a stronger WiFi signal? |
@caleb-lindgren I really thank you for your heart-full reply. |
I'm glad the package import works now! As far as the "insufficient internet" error, it just means that there was some error when the package tried to download the data files. I'm pretty sure the error is from some problem with your internet connection, not due to any problem with the package, because I just tested the download utilities and they worked fine. The data files can be fairly large (usually 10-20 MB), so maybe that's causing problems for you? I would suggest looking into some way to test the download capacity of your internet connection. Maybe you need more bandwidth. |
You could try going somewhere with a better internet connection to download the data files for the first time. Then after that, you wouldn't need to download them anymore, so you'd be able to use the data with minimal internet. |
First of all, thank you for your answer. The problem was in the institute's firewall. The cancer type I am interested in is luad. However, luad seems to be in embargo, and the following code error occurs. there is no error in other carcinomas(endometrial and colon), so it seems to be a specific error in the luad dataset. Can you confirm it?
|
The reason you're running into a problem is because the LUAD proteomics dataframe has a multi-level column index. This is where each column is identified by multiple headers instead of just one. Our tutorial number 4 in the docs folder, which you can view by clicking here, gives an in-depth explanation of what multiindexes are and how to work with them. To solve your problem in this particular case, you just need to use our |
Sorry, your command would be |
@caleb-lindgren Can i ask something if you could? |
I'm glad it works. Just to clarify, are you saying that you want to use the package to access your own data that you have generated, or are you asking about customizing the data that's already in the cptac package? Could you give me an example of what you mean when you say you want to "customize" the data? |
Sorry for my vagueness. |
does your data fit the proteogenomic pattern?
…On Tue, May 26, 2020 at 10:57 PM a00101 ***@***.***> wrote:
Sorry for my vagueness.
I meant that I want to use the 'cptac' to access my own data I already
generated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAS55IND3366TYUQHIG4YK3RTSMR7ANCNFSM4NFQDW4A>
.
|
if you use 'fit' as meaning of various dataset, alright. |
we've thought about how to do this in abstract, but have not done it. So the instructions below will take a bit of work implementing. pip install . It may be a bit of work to figure out how to get it to load data from your hard drive and not our Box URLs as is done for other tumors. |
Also, this will probably be very helpful to you: We have recently published all of our developer documentation as part of the repository. The files are located here. They walk through all the individual steps of creating new datasets and making other changes and updates to the package. After you fork the repository, I would recommend first reading through 00_why_we_did_what_we_done.md, as it will provide a good overview of the package's structure.. Then, you'd basically just need to set up your remote storage location, and then add your data by following the instructions in 02_add_new_dataset.md. |
Dear Developer.
I got error below.
AttributeError: module 'cptac' has no attribute 'list_datasets'
cptac == 0.8.0
please help me out.
Thanks.
The text was updated successfully, but these errors were encountered: