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

Added **kwargs to get_greens_tensors method. #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thurinj
Copy link
Member

@thurinj thurinj commented Nov 27, 2024

Running an example upon fresh install of MTUQ, following the syngine client rework yield the following error:

❯ python GridSearch.DoubleCouple.py
Reading data...

Processing data...

Reading Greens functions...

Traceback (most recent call last):
  File "/Users/julienthurin/Documents/GitHub/mtuq/examples/GridSearch.DoubleCouple.py", line 150, in <module>
    greens = download_greens_tensors(stations, origin, model)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/julienthurin/Documents/GitHub/mtuq/mtuq/io/clients/syngine.py", line 182, in download_greens_tensors
    return client.get_greens_tensors(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^

This minor change fixes this unintended behavior.

Running an example upon fresh install of MTUQ, following the syngine client rework yield the following error:

```bash
❯ python GridSearch.DoubleCouple.py
Reading data...

Processing data...

Reading Greens functions...

Traceback (most recent call last):
  File "/Users/julienthurin/Documents/GitHub/mtuq/examples/GridSearch.DoubleCouple.py", line 150, in <module>
    greens = download_greens_tensors(stations, origin, model)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/julienthurin/Documents/GitHub/mtuq/mtuq/io/clients/syngine.py", line 182, in download_greens_tensors
    return client.get_greens_tensors(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
```

This minor change fixes this unintended behavior.
@thurinj thurinj requested a review from rmodrak November 27, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant