Skip to content
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

Lazy loading euphonic #106

Merged
merged 8 commits into from
Dec 4, 2024

Commits on Dec 2, 2024

  1. Adding euphonic models

    mikibonacci committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    293bf21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    144dac7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab69f31 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2024

  1. Adding LL for euphonic.

    missing: download of the data, proper testing,
    detached app.
    mikibonacci committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    7f2e0c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d43f35f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2332b16 View commit details
    Browse the repository at this point in the history
  4. Bug fix in the q-section reset.

    The problem was that the default value of a tl.List(tl.Float())
    is tl.Undefined. Now we explicitely reset the default value
    of Q0_vec, h_vec and k_vec
    mikibonacci committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    29c363f View commit details
    Browse the repository at this point in the history
  5. Adding DownloadYamlHdf5Widget

    For now, I added it at the end of the main EuphonicBaseResultsWidget.
    It will only allow to download phonopy.yaml and fc.hdf5. The plots can be downloaded in the corresponding tabs.
    
    I added a method to the model which produce the downloadable files, and left the actual
    _download_data method in the widget. I think this is a proper design as the model manipulates data,
    the view can provide them.
    
    Still missing the download of single tabs, for now it does not work
    mikibonacci committed Dec 3, 2024
    Configuration menu
    Copy the full SHA
    a0d32f1 View commit details
    Browse the repository at this point in the history