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

Error in first code example in user's guide #974

Closed
jankoc opened this issue Sep 11, 2023 · 1 comment · Fixed by #975
Closed

Error in first code example in user's guide #974

jankoc opened this issue Sep 11, 2023 · 1 comment · Fixed by #975

Comments

@jankoc
Copy link

jankoc commented Sep 11, 2023

There seems to be a bug in the first code example in the user's guide:

from oemof.solph import create_year_index
my_index = create_year_index(2011)

After 10 minutes of searching I found out that "create_year_index" seems to have been replaced by "create_time_index". This should be fixed as it can be enough to scare off potential new users.

@p-snft p-snft linked a pull request Sep 11, 2023 that will close this issue
@p-snft
Copy link
Member

p-snft commented Sep 11, 2023

Thanks for bringing this up. This is the kind of issues that experienced users just overlook.

@p-snft p-snft closed this as completed Oct 16, 2023
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 a pull request may close this issue.

2 participants