-
Notifications
You must be signed in to change notification settings - Fork 6
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
PHET_IO in molecule-polarity-config.js? #43
Comments
Btw... If it's no longer needed here, then that's a more general issue -- it should probably be removed from all {{REPO}}-config.js files where it's not needed. |
I tried removing PHET_IO from the molarity config.js file and after doing so was unable to launch phet-io-wrappers/instance-proxies/instance-proxies.html?sim=molarity&ea because this GET fails:
I suspect it is also necessary for PhET-iO builds. Does this seem reasonable? |
@samreid asked:
I don't know. This sim isn't instrumented. Should we wait to add PhET-iO dependencies as part of the instrumentation process? |
... and what was the motivation for adding PhET-iO dependencies to config.js for all sims? |
That seems reasonable to me. Isn't molarity instrumented though? I would expect it to fail in phet-io mode. |
We wanted to make it so that simulations could do PhET-iO record and playback without any instrumentation. However, it did require adding PHET_IO to the config.js files. |
Labeled for developer meeting, so we can get a consensus on when to add |
It seems like there is always a manual step before getting a sim ready for record and playback. This is because not all ui components are instrumented for the data stream, so we have to make sure that everything is being emitted that we want. It seems reasonable that we would just add the PHET_IO dependency during that step, instead of always having it with every sim. I would even argue that having it on all sims could be confusing, because someone may take that as a sign that the sim is ready for record/playback when it isn't. |
My vote would be to add |
7/13/17 dev meeting: @zepumph will handle. |
in 4196982 I reverted the dependency update. I also updated the checklist above. Closing. |
As part of code review #30, @zepumph removed
PHET_IO
from molecule-polarity-config.js in 6e226e1. But I see that @samreid added it in f1205f4, and apparently did so for all {{REPO}}-config.js files, https://github.com/phetsims/phet-io/issues/453. AndPHET_IO
is still in {{REPO}}-config.js for other sims that are not instrumented (e.g. function-builder-config.js).I'm not clear on why it was added by @samreid. @zepumph please investigate whether it needs to be restored.
The text was updated successfully, but these errors were encountered: