-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support extracting end-of-line comments? #27
Comments
this may require reverting back to the tactic we were using before #28 |
@raphaelsaavedra discovered these actually come in two ways (from different sources):
and
And we may need to support both. Fortunately, i think we can support both.
|
Just guessing out here since I know very little about how this package is structured, but wouldn't it be a good idea to make it so that both cases can be addressed in the same way? e.g. by doing something like "if we see there's a comment at the end of the line, split it out to a new column", which makes case 1 become the same as case 2. |
the difference is in what Parsers.jl sees basically how parsing works is that the file is a big vector of bytes (a We tell Parsers.jl:
then Anyway, all of this is to say, that Parsers will see the two cases differently, because in the first case |
Suppose we have a line like:
PowerFlowData.jl/test/testfiles/synthetic_data_v30.raw
Line 4 in 3c49b0a
can we support the user wanting to extract the end-of-line comment
"[STBC 1 ]"
or even"STBC 1"
The text was updated successfully, but these errors were encountered: