You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where dtype=np.float64 would enforce it to be a float and - will give
File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 610, in read_csv
return _read(filepath_or_buffer, kwds)
File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 468, in _read
return parser.read(nrows)
File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 1057, in read
index, columns, col_dict = self._engine.read(nrows)
File "/Users/XXX/opt/miniconda3/envs/mda_dev/lib/python3.7/site-packages/pandas/io/parsers.py", line 2061, in read
data = self._reader.read(nrows)
File "pandas/_libs/parsers.pyx", line 756, in pandas._libs.parsers.TextReader.read
File "pandas/_libs/parsers.pyx", line 771, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas/_libs/parsers.pyx", line 850, in pandas._libs.parsers.TextReader._read_rows
File "pandas/_libs/parsers.pyx", line 982, in pandas._libs.parsers.TextReader._convert_column_data
File "pandas/_libs/parsers.pyx", line 1056, in pandas._libs.parsers.TextReader._convert_tokens
ValueError: could not convert string to float: '-'
The text was updated successfully, but these errors were encountered:
* Fix#126 and #171
* more robust gmx parser: skip NaN and incomplete lines in XVG files with filter=True; performance seems similar
(see PR #183)
* filter=True is now DEFAULT
* add tests; set older tests to use filter=False for backwards-compatibility
* Update CHANGES
For an incomplete line like
1 -100 -10 -
The last
-
will be giving problems as it cannot be cast as a float duringhttps://github.com/xiki-tempula/alchemlyb/blob/093ad87eca736f724c9a4b4d6843043ea9861f69/src/alchemlyb/parsing/gmx.py#L308
where dtype=np.float64 would enforce it to be a float and
-
will giveThe text was updated successfully, but these errors were encountered: