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

Fails in HPWHsim plot.py #10

Open
spahrenk opened this issue Oct 28, 2024 · 3 comments
Open

Fails in HPWHsim plot.py #10

spahrenk opened this issue Oct 28, 2024 · 3 comments

Comments

@spahrenk
Copy link

Seem to be some changes in syntax causing plot.py to fail.

: Traceback (most recent call last):
785: File "/Users/phil-ahrenkiel/Documents/GitHub/HPWHsim/scripts/python/plot.py", line 268, in
785: plot(measured_path, simulated_path, plot_path)
785: File "/Users/phil-ahrenkiel/Documents/GitHub/HPWHsim/scripts/python/plot.py", line 241, in plot
785: plot = dimes.TimeSeriesPlot(
785: ^^^^^^^^^^^^^^^^^^^^^
785: File "/Users/phil-ahrenkiel/Library/Caches/pypoetry/virtualenvs/hpwhsim-python-scripts-9LaPCKWl-py3.11/lib/python3.11/site-packages/dimes/timeseries.py", line 19, in init
785: self.time_values = self.x_axis.data_values
785: ^^^^^^^^^^^^^^^^^^^^^^^
785: File "/Users/phil-ahrenkiel/Library/Caches/pypoetry/virtualenvs/hpwhsim-python-scripts-9LaPCKWl-py3.11/lib/python3.11/site-packages/pandas/core/generic.py", line 5989, in getattr
785: return object.getattribute(self, name)
785: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

@nealkruis
Copy link
Member

Can you point to a commit or branch where this is failing so I can reproduce it on my machine?

@spahrenk
Copy link
Author

The Plot.villara test passes using this sha. But it fails after calling poetry dimes update in scripts/python.

@spahrenk spahrenk changed the title Fails in HPWHsim pot.py Fails in HPWHsim plot.py Oct 29, 2024
@nealkruis
Copy link
Member

I'm not able to reproduce this. When I run poetry update I get 0.0.0 b9aacbf. What version of dimes are you getting?

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

No branches or pull requests

2 participants