Giter Club home page Giter Club logo

Comments (17)

anamika-yadav99 avatar anamika-yadav99 commented on June 20, 2024 1

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.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024 1

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.

sayantani11 avatar sayantani11 commented on June 20, 2024

@miquelduranfrigola Would like to give a try!

from ersilia.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

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.

HarrietMwanza avatar HarrietMwanza commented on June 20, 2024

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.

Lewanja avatar Lewanja commented on June 20, 2024

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.

sayantani11 avatar sayantani11 commented on June 20, 2024

@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.

marliyya avatar marliyya commented on June 20, 2024

I'm an outrachy applicant and in interested in this problem I will absolutely like to contribute

from ersilia.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

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.

anamika-yadav99 avatar anamika-yadav99 commented on June 20, 2024

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.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

Interesting. Can we maybe produce an example of how latex_longtable would look like?

from ersilia.

Deepthi562 avatar Deepthi562 commented on June 20, 2024

@miquelduranfrigola can i work on this? coz it has the tag help wanted.

from ersilia.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

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.

anamika-yadav99 avatar anamika-yadav99 commented on June 20, 2024

@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.

  1. The text could be center aligned.
  2. The spacing between two rows should be increased.
  3. 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 .
  4. Column width can be customized , multiline support in the Title column could be also included.
    Present table looks like :
    image

Table using pretty table format:
image

Table using fancy_grid:
image

from ersilia.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

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 a ersilia catalog --previous?

from ersilia.

Nawarrr avatar Nawarrr commented on June 20, 2024

@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.

  1. The text could be center aligned.
  2. The spacing between two rows should be increased.
  3. 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 .
  4. Column width can be customized , multiline support in the Title column could be also included.
    Present table looks like :
    image

Table using pretty table format: image

Table using fancy_grid: image

@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.

miquelduranfrigola avatar miquelduranfrigola commented on June 20, 2024

Closing this issue now as it was resolved in #238

from ersilia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.