-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
🐛 Bug: Ersilia Catalog when no models are available #1072
Comments
can you assign me this issue @DhanshreeA ?, I would be happy to learn and work on it |
Hello @Adhivp If you are working on the Outreachy contribution period please follow the guidelines and the tasks set out on the specific issue, we are a small community and cannot provide support outside those. |
It's ok , hope to see support in the future, Have a nice day |
I am pretty sure there was an issue for that but I cannot find it now. The catalog used to provide a nice table with the Eos Identifier, Slug and model name, whereas now I only see something like:
Can we go back to having the nice table? |
Also:
gives:
We could have something more informative, like whether the model is from docker or not |
Hey @dzumii and @Malikbadmus this issue is also an interesting one with potential for increased exposure to the Ersilia CLI. Let me know if either of you wants to take this up after your tracking tasks and before we jump into writing unit tests. :) We have two tasks here:
I think you can both work on one of these tasks. LMK what you think! |
Yeah, interesting. |
I'll start working on the second task. |
@DhanshreeA , the table format previously used to display model information when you run the |
Thanks @Malikbadmus this is useful. @miquelduranfrigola requesting you to weigh in here - is there a particular reason why the use of |
Thanks all. A few comments:
|
|
Hi, chipping in. I do not think that asking the user to manually decide if they want the tabular format is a good solution for this particular function, does not make much sense for a small info to leave the decision up to the user. I am not asking for much information, but to print at least:
|
|
This is very very useful, @Malikbadmus There is a way to solve the issue, but it will be time consuming (and fun). Basically, when we do Alternatively, we could think of having a dynamically updated table locally, with all the information we need already there, stored as @DhanshreeA, thoughts? |
Yeah, I think this will be an interesting and fun task @miquelduranfrigola . Can I work on this @DhanshreeA ? |
Awesome @Malikbadmus, which approach are you thinking of taking - using |
@DhanshreeA, while I would have loved to explore and work with the SQL-based solution, I agree with you that using |
Presently, the catalog command has been modified by @Malikbadmus and @dzumii in the following ways:
Closing this issue as completed. |
Hi @DhanshreeA and @Malikbadmus I do not see the functionality as described, so I am reopening the issue. I just pulled Ersilia's last code, and upon running |
@Malikbadmus I think I understand what's happening here - every model will consistently show as being run using a conda-environment because we copy the |
Oh, I get it, should I return the model service class value to being fetched from |
@Malikbadmus I suppose that could work, yes. Let's do this - fetch a couple of models, one for each of: |
Utilizing the
see the attached file for more information So it looks like we will be utilizing a new approach. |
That makes sense, thanks for the testing @Malikbadmus! Let's get some clarity from others first. :) |
Hi, this is interesting. Thanks @Malikbadmus. I am tempted to suggest that we use the |
Hi @DhanshreeA There is a merged PR related to this. Can you summarise how does the catalog command work now and then close the issue if it is completed? |
Hi @GemmaTuron Presently the output from [
{
"Identifier": "eos6ru3",
"Slug": "whales-qmug",
"Title": "WHALES similarity search on 600k molecules from Q-Mug",
"Status": "In progress",
"Input": "Compound",
"Output": "Compound",
"Model Source": "DockerHub",
"Service Class": "pulled_docker"
},
{
"Identifier": "eos2b6f",
"Slug": "pkasolver",
"Title": "Microstate pKa values",
"Status": "Ready",
"Input": "Compound",
"Output": "Experimental value",
"Model Source": "DockerHub",
"Service Class": "pulled_docker"
},
{
"Identifier": "eos44zp",
"Slug": "ncats-cyp450",
"Title": "CYP450 metabolism",
"Status": "Ready",
"Input": "Compound",
"Output": "Probability",
"Model Source": "DockerHub",
"Service Class": "pulled_docker"
}
] And in the case there are no models in your system, or the eos directory has been removed, this is what the command returns:
We have addressed a few things in this issue:
It is safe to close this issue now. |
Is your feature request related to a problem? Please describe.
When you try to run
ersilia catalog --local
but no models are available locally, instead of telling you this it outputs an error:Describe the solution you'd like.
We could add a better info - Not prioritary at all though
Describe alternatives you've considered
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: