cheminfo-js / visualizer-helper

Small pieces of code useful in the visualizer
MIT License
0 stars 3 forks source link

Strange order of calls ? #4

Closed lpatiny closed 7 years ago

lpatiny commented 7 years ago

I cleaned up a little bit the library but seems to me something is not normal

In line

https://github.com/cheminfo-js/visualizer-helper/blob/c5b37afbaa52911e4cdfe8d4670d62f3afa88aa4/eln/MF.js#L37

We should set the molfile but following code is executed after and seems still to have the previous value.

https://github.com/cheminfo-js/visualizer-helper/blob/c5b37afbaa52911e4cdfe8d4670d62f3afa88aa4/eln/MF.js#L37

stropitek commented 7 years ago

Fixed