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

Arff reader with nominal value of 1 character #3073

Merged
merged 3 commits into from
Nov 17, 2013

Conversation

ghl3
Copy link
Contributor

@ghl3 ghl3 commented Nov 16, 2013

Previously, attributes consisting of a single nominal value whose name is 1 character will cause "loadarff" to fail (admittedly, this is a bit of an edge case).

Adds a test case covering this issue.

George Lewis added 3 commits November 16, 2013 15:27
The arff io reader fails to load arff files containing
a single nominal value of only 1 character.  Adds a
test demonstrating the failure in this case.
Alteres the regex for parsing nominal values in
arff files so that single character nominal
values can now be successfully parsed.
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling e6fceed on ghl3:arff_nominal_fix into 11d8bee on scipy:master.

rgommers added a commit that referenced this pull request Nov 17, 2013
Arff reader with nominal value of 1 character
@rgommers rgommers merged commit 3077e4f into scipy:master Nov 17, 2013
@rgommers
Copy link
Member

Thanks George, looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect A clear bug or issue that prevents SciPy from being installed or used as expected scipy.io
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants