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

'export_pairs' is not working due to missing 'write' function #22

Open
Amselco opened this issue Jun 3, 2024 · 1 comment
Open

'export_pairs' is not working due to missing 'write' function #22

Amselco opened this issue Jun 3, 2024 · 1 comment
Assignees

Comments

@Amselco
Copy link

Amselco commented Jun 3, 2024

Describe the bug
'export_pairs' is not working due to missing 'write' function

To Reproduce

add w.export_pairs() to WorkFlow.ipynb

Expected behavior

export pairs as a dataframe

Screenshots

NameError Traceback (most recent call last)
Cell In[18], line 1
----> 1 w.export_pairs()

File site-packages\pyjedai\workflow.py:195, in PYJEDAIWorkFlow.export_pairs(self)
189 def export_pairs(self) -> pd.DataFrame:
190 """Export pairs to file.
191
192 Returns:
193 pd.DataFrame: pairs as a DataFrame
194 """
--> 195 return write(self.final_pairs, self.data)

NameError: name 'write' is not defined

Desktop (please complete the following information):

  • WIN 11, Chrome, pyjedai 0.1.7

Additional context
in the past 'write' was in evaluation.py

@Nikoletos-K Nikoletos-K self-assigned this Jun 6, 2024
@Nikoletos-K
Copy link
Member

Thanks for the detailed report. It is fixed and will be updated in the next public release!

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