Skip to content

Commit

Permalink
Reworked corresp and excipiens parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Apr 29, 2015
1 parent 874f2ad commit df5d105
Show file tree
Hide file tree
Showing 7 changed files with 529 additions and 603 deletions.
2 changes: 1 addition & 1 deletion lib/oddb2xml/builder.rb
Expand Up @@ -649,7 +649,7 @@ def build_calc
seqnr = "%02d" % row.cells[1].value.to_i
if row_nr % 250 == 0
puts "#{Time.now}: At row #{row_nr} iksnr #{iksnr}";
$stdout.sync
$stdout.flush
end
no8 = sprintf('%05d',row.cells[0].value.to_i) + sprintf('%03d',row.cells[10].value.to_i)
name = row.cells[2].value
Expand Down
217 changes: 125 additions & 92 deletions lib/oddb2xml/compositions_syntax.rb

Large diffs are not rendered by default.

0 comments on commit df5d105

Please sign in to comment.