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

TypeError during setting starting values #51

Open
Svennito opened this issue Nov 29, 2023 · 0 comments
Open

TypeError during setting starting values #51

Svennito opened this issue Nov 29, 2023 · 0 comments

Comments

@Svennito
Copy link
Collaborator

Had the error

Traceback (most recent call last):
File "/home/sven/hippo/23/ginny/2_setup.py", line 133, in
editor.ifile = set_dataset_starting_values(editor,dataset,config_dataset)
File "/home/sven/hippo/23/ginny/2_setup.py", line 89, in set_dataset_starting_values
if not np.isnan(value):
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Was caused by reading dataset.csv with both comma and space as separators leading to two extra columns. A message such as "processing dataset.csv for starting values" would give some sort of a hint for the user where to look for the cause?

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

1 participant