Skip to content
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

ScaleTool() exception when first time colomn isn't 0 #2201

Closed
jimmyDunne opened this issue Jun 5, 2018 · 0 comments
Closed

ScaleTool() exception when first time colomn isn't 0 #2201

jimmyDunne opened this issue Jun 5, 2018 · 0 comments

Comments

@jimmyDunne
Copy link
Member

Issue reported on the forum, which I confirmed locally.

If the time column ~= 0, the ScaleTool returns an exception. This issue is not seen in 3.3.

java.lang.RuntimeException: Time 0.000000 is out of time range [0.517000, 0.517000]
	Thrown at TimeSeriesTable.h:304 in getNearestRowIndexForTime().
	at org.opensim.modeling.opensimActuatorsAnalysesToolsJNI.OpenSimContext_processModelMarkerPlacer__SWIG_0(Native Method)
	at org.opensim.modeling.OpenSimContext.processModelMarkerPlacer(OpenSimContext.java:301)
	at org.opensim.tracking.ScaleToolModel$ScaleToolWorker.construct(ScaleToolModel.java:347)
	at org.opensim.swingui.SwingWorker$2.run(SwingWorker.java:130)
[catch] at java.lang.Thread.run(Thread.java:745)

All of our static marker trc files start from time zero so we don't test for this.

A testing folder can be found in Dropbox/OpenSim Beta Testing Files/4.0 Testing/scaling_time_zero

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants