-
-
Save anonymous/ed9bb83c29fc793fa869 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def determine | |
file=File.open("/home/lala.CEL", 'r:UTF-8') | |
file.each do |line| | |
type=line.match(/HG-U133_Plus_2/) | |
puts(type) | |
end | |
end | |
error: | |
`match': invalid byte sequence in UTF-8 (ArgumentError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment