Comments (17)
Hi @miquelduranfrigola . Yes, I can add ersilia catalog --previous
as well. But I see this issue has been assigned to @sayantani11 . I'm happy to help her out.
from ersilia.
Hi @Nawarrr thanks for volunteering. I think the issue is well covered by the two of them. We will let you know if we need help, ok?
from ersilia.
@miquelduranfrigola Would like to give a try!
from ersilia.
Hi @sayantani11 thanks for your proactivity as always. Feel free to explore and come up with suggestions here! As you see the current solution is quite raw.
from ersilia.
Hi @sayantani11 I am an Outreachy applicant and picked this first-time issue to contribute. Please do walk me over what I can help with and how to start
from ersilia.
Hi @miquelduranfrigola , I am a first time outreachy intern and would like to contribute to this project. Please, guide me through. Where do I start?
from ersilia.
@miquelduranfrigola In order to understand the issue a bit more, I would like to know what are the problems that are being faced by the current catalog display....and what are the maintainers looking for in the future?
from ersilia.
I'm an outrachy applicant and in interested in this problem I will absolutely like to contribute
from ersilia.
Hi @sayantani11 I think that tabulate
is quite simple and, perhaps, an option that displays in the terminal with a multi-page view would be better. Do you think this is easy to achieve? As the catalog grows, it will be not feasible to display everything in the command line. Suggestions welcome!
As mentioned in issue #126 I would rather discard the website option at the moment since the AirTable is sufficient for now. Also, working on a GUI at the moment (updates soon!) so let's not duplicate efforts.
from ersilia.
Hi @miquelduranfrigola multi-page view can be implemented using latex_longtable
table format which is supported by tabulate
. Do you also want to change the formatting of the current catalog table?
from ersilia.
Interesting. Can we maybe produce an example of how latex_longtable
would look like?
from ersilia.
@miquelduranfrigola can i work on this? coz it has the tag help wanted.
from ersilia.
Hi @Deepthi562 the task was assigned to @sayantani11 a while ago, and I think we are on a good track with this. Do you have any suggestion that would go in the lines of what @anamika-yadav99 and @sayantani11 are discussing?
from ersilia.
@miquelduranfrigola @sayantani11 latex_longtable
would look like a latex table. I'm sorry for not checking it properly. But now after after doing some research I found out that multipage table is only supported in latex_longtable
in tabulate
. One thing which can be done is adding a function which would slice the table, for say we have 200 models, 25 models in a page is decent size to display. We could slice it into table of 25. (Suggested by maintainers of tabulate astanin/python-tabulate#88 , astanin/python-tabulate#57)
Add a function to cli $ersilia catalog --next
which would update the slice index and display the next slice of the table. This could be achieved without changing a lot around in catalog.py. There are other options available such as longtable which uses input in latex format and the table is rendered to display.
There's a lot of customization possible in the existing table format.
- The text could be center aligned.
- The spacing between two rows should be increased.
- The current table format used to display catalog is none. We could use other table format supported by
tabulate
. I found
grid and pretty table format to be easily readable . - Column width can be customized , multiline support in the
Title
column could be also included.
Present table looks like :
Table using pretty table format:
from ersilia.
Hi @anamika-yadav99 this is very good!
- I like the fancy_grid style with the centering as you suggest.
- 25 models per page is very reasonable
- I think your
ersilia catalog --next
solution is pretty good. Do you think we can also add aersilia catalog --previous
?
from ersilia.
@miquelduranfrigola @sayantani11
latex_longtable
would look like a latex table. I'm sorry for not checking it properly. But now after after doing some research I found out that multipage table is only supported inlatex_longtable
intabulate
. One thing which can be done is adding a function which would slice the table, for say we have 200 models, 25 models in a page is decent size to display. We could slice it into table of 25. (Suggested by maintainers of tabulate astanin/python-tabulate#88 , astanin/python-tabulate#57) Add a function to cli$ersilia catalog --next
which would update the slice index and display the next slice of the table. This could be achieved without changing a lot around in catalog.py. There are other options available such as longtable which uses input in latex format and the table is rendered to display. There's a lot of customization possible in the existing table format.
- The text could be center aligned.
- The spacing between two rows should be increased.
- The current table format used to display catalog is none. We could use other table format supported by
tabulate
. I found
grid and pretty table format to be easily readable .- Column width can be customized , multiline support in the
Title
column could be also included.
Present table looks like :
@anamika-yadav99 This is really good work and I think it will be better than the current catalog.
@miquelduranfrigola I would love to be assigned to help both @anamika-yadav99 and @sayantani11 if that's possible
from ersilia.
Closing this issue now as it was resolved in #238
from ersilia.
Related Issues (20)
- ✍️ Contribution period: <Anonymous>
- ✍️ Contribution period: Riya S
- ✍️ Contribution period: Sandeep Kumar
- ✍️ Contribution period: Anshika Vashistha HOT 2
- ✍️ Contribution period: <Akriti Dhurandher> HOT 1
- Summer 24: Ogbonna Chidinma ✍️ HOT 1
- 🦠 Model Request: REINVENT 4 Mol2MolScaffold HOT 2
- ✍️ Contribution period: Olawumi Salaam HOT 9
- Contribution Period: please ignore this HOT 1
- ✍️ Contribution period: Arineitwe Fred HOT 3
- Paseda Modupe Oluwaseun HOT 2
- ✍️ Contribution period: <Oluwaseun_Odusanwo> HOT 1
- ✍️ Contribution period: Manya Sachdeva HOT 2
- ✍️ Contribution period: Arineitwe Fred HOT 2
- ✍️ Contribution period: Arineitwe Fred HOT 2
- ✍️ Contribution period: <Ashita Srivastava>
- ✍️ Contribution period: <Chisom Nwankwo>
- ✍️ Contribution period: Anastasiia Kiseleva HOT 1
- ✍️ Contribution period: Ishita Pathak HOT 1
- ✍️ Contribution period: Shamika Anne Sawalha HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ersilia.